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 ()
AnalysisDeclContextManager & getAnalysisDeclContextManager ()
StoreManagerCreator getStoreManagerCreator ()
AnalyzerOptions & getAnalyzerOptions () override
ConstraintManagerCreator getConstraintManagerCreator ()
CheckerManager * getCheckerManager () const
ASTContext & getASTContext () override
SourceManager & getSourceManager () override
DiagnosticsEngine & getDiagnostic () override
const LangOptions & getLangOpts () const
ArrayRef
< PathDiagnosticConsumer * > 
getPathDiagnosticConsumers () override
void FlushDiagnostics ()
bool shouldVisualize () const
bool shouldInlineCall () const
CFG * getCFG (Decl const *D)
template<typename T >
T * getAnalysis (Decl const *D)
ParentMap & getParentMap (Decl const *D)
AnalysisDeclContext * getAnalysisDeclContext (const Decl *D)

Public Attributes

AnalyzerOptions & options

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: