Home | History | Annotate | Download | only in Checkers
      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_SA_LIB_CHECKERS_CLANGSACHECKERS_H
     16 #define LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H
     17 
     18 namespace clang {
     19 
     20 namespace ento {
     21 class CheckerManager;
     22 
     23 #define GET_CHECKERS
     24 #define CHECKER(FULLNAME,CLASS,CXXFILE,HELPTEXT,GROUPINDEX,HIDDEN)    \
     25   void register##CLASS(CheckerManager &mgr);
     26 #include "Checkers.inc"
     27 #undef CHECKER
     28 #undef GET_CHECKERS
     29 
     30 } // end ento namespace
     31 
     32 } // end clang namespace
     33 
     34 #endif
     35