blob: d6e96f27a75e68a1c58e1e809be8abcacaefd861 [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
Benjamin Kramer2f5db8b2014-08-13 16:25:19 +000015#ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_CLANGSACHECKERS_H
16#define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_CLANGSACHECKERS_H
Argyrios Kyrtzidis556c45e2011-02-14 18:13:31 +000017
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);
Chih-Hung Hsieha9ad1552016-04-28 01:09:09 +000029#include "clang/StaticAnalyzer/Checkers/Checkers.inc"
Argyrios Kyrtzidis556c45e2011-02-14 18:13:31 +000030#undef CHECKER
31#undef GET_CHECKERS
32
Alexander Kornienkoab9db512015-06-22 23:07:51 +000033} // end ento namespace
Argyrios Kyrtzidis556c45e2011-02-14 18:13:31 +000034
Alexander Kornienkoab9db512015-06-22 23:07:51 +000035} // end clang namespace
Argyrios Kyrtzidis556c45e2011-02-14 18:13:31 +000036
37#endif