blob: 230baa759c5ac83ab7fe16a9bd1c3287e8c17890 [file] [log] [blame]
Argyrios Kyrtzidis43dee222011-02-14 18:13:31 +00001//===--- 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 Kremenek6fd45052012-04-05 20:43:28 +000015#include "clang/StaticAnalyzer/Checkers/CommonBugCategories.h"
16
Argyrios Kyrtzidis43dee222011-02-14 18:13:31 +000017#ifndef LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H
18#define LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H
19
20namespace clang {
21
22namespace ento {
Argyrios Kyrtzidis695fb502011-02-17 21:39:17 +000023class CheckerManager;
Jordy Rose08b86532011-08-16 21:24:21 +000024class CheckerRegistry;
Argyrios Kyrtzidis43dee222011-02-14 18:13:31 +000025
26#define GET_CHECKERS
Argyrios Kyrtzidis9bc1afc2011-03-29 23:57:38 +000027#define CHECKER(FULLNAME,CLASS,CXXFILE,HELPTEXT,GROUPINDEX,HIDDEN) \
Argyrios Kyrtzidis695fb502011-02-17 21:39:17 +000028 void register##CLASS(CheckerManager &mgr);
Argyrios Kyrtzidisc869abe2011-02-17 18:40:33 +000029#include "Checkers.inc"
Argyrios Kyrtzidis43dee222011-02-14 18:13:31 +000030#undef CHECKER
31#undef GET_CHECKERS
32
33} // end ento namespace
34
35} // end clang namespace
36
37#endif