• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===--- ClangSACheckers.h - Registration functions for Checkers *- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // Declares the registation functions for the checkers defined in
11 // libclangStaticAnalyzerCheckers.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_CLANGSACHECKERS_H
16 #define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_CLANGSACHECKERS_H
17 
18 #include "clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h"
19 
20 namespace clang {
21 
22 namespace ento {
23 class CheckerManager;
24 class CheckerRegistry;
25 
26 #define GET_CHECKERS
27 #define CHECKER(FULLNAME,CLASS,CXXFILE,HELPTEXT,GROUPINDEX,HIDDEN)    \
28   void register##CLASS(CheckerManager &mgr);
29 #include "Checkers.inc"
30 #undef CHECKER
31 #undef GET_CHECKERS
32 
33 } // end ento namespace
34 
35 } // end clang namespace
36 
37 #endif
38