1218887Sdim//===--- ClangSACheckers.h - Registration functions for Checkers *- C++ -*-===// 2218887Sdim// 3218887Sdim// The LLVM Compiler Infrastructure 4218887Sdim// 5218887Sdim// This file is distributed under the University of Illinois Open Source 6218887Sdim// License. See LICENSE.TXT for details. 7218887Sdim// 8218887Sdim//===----------------------------------------------------------------------===// 9218887Sdim// 10218887Sdim// Declares the registation functions for the checkers defined in 11218887Sdim// libclangStaticAnalyzerCheckers. 12218887Sdim// 13218887Sdim//===----------------------------------------------------------------------===// 14218887Sdim 15218887Sdim#ifndef LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H 16218887Sdim#define LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H 17218887Sdim 18263508Sdim#include "clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h" 19249423Sdim 20218887Sdimnamespace clang { 21218887Sdim 22218887Sdimnamespace ento { 23218887Sdimclass CheckerManager; 24226633Sdimclass CheckerRegistry; 25218887Sdim 26218887Sdim#define GET_CHECKERS 27221345Sdim#define CHECKER(FULLNAME,CLASS,CXXFILE,HELPTEXT,GROUPINDEX,HIDDEN) \ 28218887Sdim void register##CLASS(CheckerManager &mgr); 29218887Sdim#include "Checkers.inc" 30218887Sdim#undef CHECKER 31218887Sdim#undef GET_CHECKERS 32218887Sdim 33218887Sdim} // end ento namespace 34218887Sdim 35218887Sdim} // end clang namespace 36218887Sdim 37218887Sdim#endif 38