Argyrios Kyrtzidis | 43dee22 | 2011-02-14 18:13:31 +0000 | [diff] [blame] | 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 | |
Ted Kremenek | 6fd4505 | 2012-04-05 20:43:28 +0000 | [diff] [blame] | 15 | #include "clang/StaticAnalyzer/Checkers/CommonBugCategories.h" |
| 16 | |
Argyrios Kyrtzidis | 43dee22 | 2011-02-14 18:13:31 +0000 | [diff] [blame] | 17 | #ifndef LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H |
| 18 | #define LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H |
| 19 | |
| 20 | namespace clang { |
| 21 | |
| 22 | namespace ento { |
Argyrios Kyrtzidis | 695fb50 | 2011-02-17 21:39:17 +0000 | [diff] [blame] | 23 | class CheckerManager; |
Jordy Rose | 08b8653 | 2011-08-16 21:24:21 +0000 | [diff] [blame] | 24 | class CheckerRegistry; |
Argyrios Kyrtzidis | 43dee22 | 2011-02-14 18:13:31 +0000 | [diff] [blame] | 25 | |
| 26 | #define GET_CHECKERS |
Argyrios Kyrtzidis | 9bc1afc | 2011-03-29 23:57:38 +0000 | [diff] [blame] | 27 | #define CHECKER(FULLNAME,CLASS,CXXFILE,HELPTEXT,GROUPINDEX,HIDDEN) \ |
Argyrios Kyrtzidis | 695fb50 | 2011-02-17 21:39:17 +0000 | [diff] [blame] | 28 | void register##CLASS(CheckerManager &mgr); |
Argyrios Kyrtzidis | c869abe | 2011-02-17 18:40:33 +0000 | [diff] [blame] | 29 | #include "Checkers.inc" |
Argyrios Kyrtzidis | 43dee22 | 2011-02-14 18:13:31 +0000 | [diff] [blame] | 30 | #undef CHECKER |
| 31 | #undef GET_CHECKERS |
| 32 | |
| 33 | } // end ento namespace |
| 34 | |
| 35 | } // end clang namespace |
| 36 | |
| 37 | #endif |