2011-02-15 02:13:31 +08:00
|
|
|
//===--- ClangSACheckers.h - Registration functions for Checkers *- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// Declares the registation functions for the checkers defined in
|
|
|
|
// libclangStaticAnalyzerCheckers.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2012-04-06 04:43:28 +08:00
|
|
|
#include "clang/StaticAnalyzer/Checkers/CommonBugCategories.h"
|
|
|
|
|
2011-02-15 02:13:31 +08:00
|
|
|
#ifndef LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H
|
|
|
|
#define LLVM_CLANG_SA_LIB_CHECKERS_CLANGSACHECKERS_H
|
|
|
|
|
|
|
|
namespace clang {
|
|
|
|
|
|
|
|
namespace ento {
|
2011-02-18 05:39:17 +08:00
|
|
|
class CheckerManager;
|
2011-08-17 05:24:21 +08:00
|
|
|
class CheckerRegistry;
|
2011-02-15 02:13:31 +08:00
|
|
|
|
|
|
|
#define GET_CHECKERS
|
2011-03-30 07:57:38 +08:00
|
|
|
#define CHECKER(FULLNAME,CLASS,CXXFILE,HELPTEXT,GROUPINDEX,HIDDEN) \
|
2011-02-18 05:39:17 +08:00
|
|
|
void register##CLASS(CheckerManager &mgr);
|
2011-02-18 02:40:33 +08:00
|
|
|
#include "Checkers.inc"
|
2011-02-15 02:13:31 +08:00
|
|
|
#undef CHECKER
|
|
|
|
#undef GET_CHECKERS
|
|
|
|
|
|
|
|
} // end ento namespace
|
|
|
|
|
|
|
|
} // end clang namespace
|
|
|
|
|
|
|
|
#endif
|