clang API Documentation

Public Member Functions | Public Attributes
clang::ento::AnalysisManager Class Reference

#include <AnalysisManager.h>

Inheritance diagram for clang::ento::AnalysisManager:
Inheritance graph
[legend]
Collaboration diagram for clang::ento::AnalysisManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AnalysisManager (ASTContext &ctx, DiagnosticsEngine &diags, const LangOptions &lang, const PathDiagnosticConsumers &Consumers, StoreManagerCreator storemgr, ConstraintManagerCreator constraintmgr, CheckerManager *checkerMgr, AnalyzerOptions &Options, CodeInjector *injector=nullptr)
 ~AnalysisManager ()
void ClearContexts ()
AnalysisDeclContextManagergetAnalysisDeclContextManager ()
StoreManagerCreator getStoreManagerCreator ()
AnalyzerOptionsgetAnalyzerOptions () override
ConstraintManagerCreator getConstraintManagerCreator ()
CheckerManagergetCheckerManager () const
ASTContextgetASTContext () override
SourceManagergetSourceManager () override
DiagnosticsEnginegetDiagnostic () override
const LangOptionsgetLangOpts () const
ArrayRef
< PathDiagnosticConsumer * > 
getPathDiagnosticConsumers () override
void FlushDiagnostics ()
bool shouldVisualize () const
bool shouldInlineCall () const
CFGgetCFG (Decl const *D)
template<typename T >
T * getAnalysis (Decl const *D)
ParentMapgetParentMap (Decl const *D)
AnalysisDeclContextgetAnalysisDeclContext (const Decl *D)

Public Attributes

AnalyzerOptionsoptions

Detailed Description

Definition at line 31 of file AnalysisManager.h.


Constructor & Destructor Documentation

AnalysisManager::AnalysisManager ( ASTContext ctx,
DiagnosticsEngine diags,
const LangOptions lang,
const PathDiagnosticConsumers Consumers,
StoreManagerCreator  storemgr,
ConstraintManagerCreator  constraintmgr,
CheckerManager checkerMgr,
AnalyzerOptions Options,
CodeInjector injector = nullptr 
)

Definition at line 43 of file AnalysisManager.cpp.

References FlushDiagnostics().


Member Function Documentation

Definition at line 60 of file AnalysisManager.h.

References clang::AnalysisDeclContextManager::clear().

Definition at line 51 of file AnalysisManager.cpp.

Referenced by ~AnalysisManager().

template<typename T >
T* clang::ento::AnalysisManager::getAnalysis ( Decl const *  D) [inline]

Definition at line 64 of file AnalysisManager.h.

Implements clang::ento::BugReporterData.

Definition at line 72 of file AnalysisManager.h.

References options.

ASTContext& clang::ento::AnalysisManager::getASTContext ( ) [inline, override, virtual]
CFG* clang::ento::AnalysisManager::getCFG ( Decl const *  D) [inline]

Definition at line 80 of file AnalysisManager.h.

Referenced by clang::ento::ExprEngine::getCheckerManager().

Definition at line 76 of file AnalysisManager.h.

Implements clang::ento::BugReporterData.

Definition at line 90 of file AnalysisManager.h.

Definition at line 94 of file AnalysisManager.h.

Referenced by clang::ento::ExprEngine::VisitDeclStmt().

Implements clang::ento::BugReporterData.

Definition at line 98 of file AnalysisManager.h.

Definition at line 68 of file AnalysisManager.h.


Member Data Documentation


The documentation for this class was generated from the following files: