mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-28 15:58:57 -04:00

Simplify sharing of Checkers.inc with other files like ClangTidy.cpp. Differential Revision: http://reviews.llvm.org/19393 llvm-svn: 267832
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
//===--- ClangSACheckers.h - Registration functions for Checkers *- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Declares the registation functions for the checkers defined in
|
|
// libclangStaticAnalyzerCheckers.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_CLANGSACHECKERS_H
|
|
#define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_CLANGSACHECKERS_H
|
|
|
|
#include "clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h"
|
|
|
|
namespace clang {
|
|
|
|
namespace ento {
|
|
class CheckerManager;
|
|
class CheckerRegistry;
|
|
|
|
#define GET_CHECKERS
|
|
#define CHECKER(FULLNAME,CLASS,CXXFILE,HELPTEXT,GROUPINDEX,HIDDEN) \
|
|
void register##CLASS(CheckerManager &mgr);
|
|
#include "clang/StaticAnalyzer/Checkers/Checkers.inc"
|
|
#undef CHECKER
|
|
#undef GET_CHECKERS
|
|
|
|
} // end ento namespace
|
|
|
|
} // end clang namespace
|
|
|
|
#endif
|