blob: de2ebce52c026cde0476d4c4fdc4b053df1a52fd [file] [log] [blame]
Argyrios Kyrtzidis556c45e2011-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
Jordan Rose6feda282013-10-04 00:25:24 +000018#include "clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h"
Argyrios Kyrtzidis475b3992012-12-17 20:10:49 +000019
Argyrios Kyrtzidis556c45e2011-02-14 18:13:31 +000020namespace clang {
21
22namespace ento {
Argyrios Kyrtzidis507ff532011-02-17 21:39:17 +000023class CheckerManager;
Jordy Rose59cce712011-08-16 21:24:21 +000024class CheckerRegistry;
Argyrios Kyrtzidis556c45e2011-02-14 18:13:31 +000025
26#define GET_CHECKERS
Argyrios Kyrtzidis437758c2011-03-29 23:57:38 +000027#define CHECKER(FULLNAME,CLASS,CXXFILE,HELPTEXT,GROUPINDEX,HIDDEN) \
Argyrios Kyrtzidis507ff532011-02-17 21:39:17 +000028 void register##CLASS(CheckerManager &mgr);
Argyrios Kyrtzidis9d5235d2011-02-17 18:40:33 +000029#include "Checkers.inc"
Argyrios Kyrtzidis556c45e2011-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