blob: 289ce8d8c3baa45a3f91cba1cb5a548c2b34f0da [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
15#ifndef LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H
16#define LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H
17
18namespace clang {
19
20namespace ento {
Argyrios Kyrtzidis695fb502011-02-17 21:39:17 +000021class CheckerManager;
Jordy Rose08b86532011-08-16 21:24:21 +000022class CheckerRegistry;
Argyrios Kyrtzidis43dee222011-02-14 18:13:31 +000023
24#define GET_CHECKERS
Argyrios Kyrtzidis9bc1afc2011-03-29 23:57:38 +000025#define CHECKER(FULLNAME,CLASS,CXXFILE,HELPTEXT,GROUPINDEX,HIDDEN) \
Argyrios Kyrtzidis695fb502011-02-17 21:39:17 +000026 void register##CLASS(CheckerManager &mgr);
Argyrios Kyrtzidisc869abe2011-02-17 18:40:33 +000027#include "Checkers.inc"
Argyrios Kyrtzidis43dee222011-02-14 18:13:31 +000028#undef CHECKER
29#undef GET_CHECKERS
30
31} // end ento namespace
32
33} // end clang namespace
34
35#endif