clang API Documentation

Public Member Functions | Friends
clang::AnalysisDeclContextManager Class Reference

#include <AnalysisContext.h>

List of all members.

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.

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 
)

Definition at line 567 of file AnalysisDeclContext.cpp.


Member Function Documentation

Discard all previously created AnalysisDeclContexts.

Definition at line 84 of file AnalysisDeclContext.cpp.

References Contexts.

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

Definition at line 437 of file AnalysisContext.h.

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

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().

StackFrameContext const* clang::AnalysisDeclContextManager::getStackFrame ( const Decl D,
LocationContext const *  Parent,
const Stmt S,
const CFGBlock Blk,
unsigned  Idx 
) [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: