LocalCheckers.h revision 218887
11573Srgrimes//==- LocalCheckers.h - Intra-Procedural+Flow-Sensitive Checkers -*- C++ -*-==//
21573Srgrimes//
31573Srgrimes//                     The LLVM Compiler Infrastructure
41573Srgrimes//
51573Srgrimes// This file is distributed under the University of Illinois Open Source
61573Srgrimes// License. See LICENSE.TXT for details.
71573Srgrimes//
81573Srgrimes//===----------------------------------------------------------------------===//
91573Srgrimes//
101573Srgrimes//  This file defines the interface to call a set of intra-procedural (local)
111573Srgrimes//  checkers that use flow/path-sensitive analyses to find bugs.
121573Srgrimes//
131573Srgrimes//===----------------------------------------------------------------------===//
141573Srgrimes
151573Srgrimes#ifndef LLVM_CLANG_GR_LOCALCHECKERS_H
161573Srgrimes#define LLVM_CLANG_GR_LOCALCHECKERS_H
171573Srgrimes
181573Srgrimesnamespace clang {
191573Srgrimes
201573Srgrimesclass CFG;
211573Srgrimesclass Decl;
221573Srgrimesclass Diagnostic;
231573Srgrimesclass ASTContext;
241573Srgrimesclass LangOptions;
251573Srgrimesclass ParentMap;
261573Srgrimesclass LiveVariables;
271573Srgrimesclass ObjCImplementationDecl;
2816457Swollmanclass LangOptions;
2950476Speterclass TranslationUnitDecl;
301573Srgrimes
3157699Sshinnamespace ento {
321573Srgrimes
3379531Sruclass PathDiagnosticClient;
341573Srgrimesclass TransferFuncs;
351573Srgrimesclass BugType;
361573Srgrimesclass BugReporter;
373932Srgrimesclass ExprEngine;
3855918Sshin
3956590SshinTransferFuncs* MakeCFRefCountTF(ASTContext& Ctx, bool GCEnabled,
4055918Sshin                                  const LangOptions& lopts);
4157699Sshin
421573Srgrimesvoid RegisterExperimentalChecks(ExprEngine &Eng);
4359460Sphantomvoid RegisterExperimentalInternalChecks(ExprEngine &Eng);
4459460Sphantom
451573Srgrimesvoid RegisterCallInliner(ExprEngine &Eng);
4684306Sru
471573Srgrimes} // end GR namespace
481573Srgrimes
491573Srgrimes} // end namespace clang
501573Srgrimes
511573Srgrimes#endif
521573Srgrimes