clang  3.7.0
Public Member Functions | Friends | List of all members
clang::AnalysisDeclContextManager Class Reference

#include <AnalysisContext.h>

Public Member Functions

 AnalysisDeclContextManager (bool useUnoptimizedCFG=false, bool addImplicitDtors=false, bool addInitializers=false, bool addTemporaryDtors=false, bool synthesizeBodies=false, bool addStaticInitBranches=false, bool addCXXNewAllocator=true, CodeInjector *injector=nullptr)
 
 ~AnalysisDeclContextManager ()
 
AnalysisDeclContextgetContext (const Decl *D)
 
bool getUseUnoptimizedCFG () const
 
CFG::BuildOptionsgetCFGBuildOptions ()
 
bool synthesizeBodies () const
 
const StackFrameContextgetStackFrame (AnalysisDeclContext *Ctx, LocationContext const *Parent, const Stmt *S, const CFGBlock *Blk, unsigned Idx)
 
const StackFrameContextgetStackFrame (const Decl *D)
 
StackFrameContext const * getStackFrame (const Decl *D, LocationContext const *Parent, const Stmt *S, const CFGBlock *Blk, unsigned Idx)
 
void clear ()
 Discard all previously created AnalysisDeclContexts. More...
 

Friends

class AnalysisDeclContext
 

Detailed Description

Definition at line 404 of file AnalysisContext.h.

Constructor & Destructor Documentation

AnalysisDeclContextManager::AnalysisDeclContextManager ( bool  useUnoptimizedCFG = false,
bool  addImplicitDtors = false,
bool  addInitializers = false,
bool  addTemporaryDtors = false,
bool  synthesizeBodies = false,
bool  addStaticInitBranches = false,
bool  addCXXNewAllocator = true,
CodeInjector injector = nullptr 
)
AnalysisDeclContextManager::~AnalysisDeclContextManager ( )

Definition at line 567 of file AnalysisDeclContext.cpp.

Member Function Documentation

void AnalysisDeclContextManager::clear ( )

Discard all previously created AnalysisDeclContexts.

Definition at line 84 of file AnalysisDeclContext.cpp.

References Contexts.

Referenced by clang::ento::AnalysisManager::ClearContexts().

CFG::BuildOptions& clang::AnalysisDeclContextManager::getCFGBuildOptions ( )
inline

Definition at line 437 of file AnalysisContext.h.

Referenced by clang::ento::AnalysisManager::AnalysisManager().

AnalysisDeclContext * AnalysisDeclContextManager::getContext ( const Decl D)
const StackFrameContext* clang::AnalysisDeclContextManager::getStackFrame ( AnalysisDeclContext Ctx,
LocationContext const *  Parent,
const Stmt S,
const CFGBlock Blk,
unsigned  Idx 
)
inline

Definition at line 445 of file AnalysisContext.h.

References clang::LocationContextManager::getStackFrame().

const StackFrameContext* clang::AnalysisDeclContextManager::getStackFrame ( const Decl D)
inline
StackFrameContext const* clang::AnalysisDeclContextManager::getStackFrame ( const Decl D,
LocationContext const *  Parent,
const Stmt S,
const CFGBlock Blk,
unsigned  Idx 
)
inline
bool clang::AnalysisDeclContextManager::getUseUnoptimizedCFG ( ) const
inline
bool clang::AnalysisDeclContextManager::synthesizeBodies ( ) const
inline

Return true if faux bodies should be synthesized for well-known functions.

Definition at line 443 of file AnalysisContext.h.

Referenced by clang::AnalysisDeclContext::getBody().

Friends And Related Function Documentation

friend class AnalysisDeclContext
friend

Definition at line 472 of file AnalysisContext.h.

Referenced by getContext().


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