clang API Documentation
00001 //===--- ClangSACheckers.h - Registration functions for Checkers *- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // Declares the registation functions for the checkers defined in 00011 // libclangStaticAnalyzerCheckers. 00012 // 00013 //===----------------------------------------------------------------------===// 00014 00015 #ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_CLANGSACHECKERS_H 00016 #define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_CLANGSACHECKERS_H 00017 00018 #include "clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h" 00019 00020 namespace clang { 00021 00022 namespace ento { 00023 class CheckerManager; 00024 class CheckerRegistry; 00025 00026 #define GET_CHECKERS 00027 #define CHECKER(FULLNAME,CLASS,CXXFILE,HELPTEXT,GROUPINDEX,HIDDEN) \ 00028 void register##CLASS(CheckerManager &mgr); 00029 #include "Checkers.inc" 00030 #undef CHECKER 00031 #undef GET_CHECKERS 00032 00033 } // end ento namespace 00034 00035 } // end clang namespace 00036 00037 #endif