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)
 ~AnalysisDeclContextManager ()
AnalysisDeclContextgetContext (const Decl *D)
bool getUseUnoptimizedCFG () const
CFG::BuildOptionsgetCFGBuildOptions ()
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 361 of file AnalysisContext.h.


Constructor & Destructor Documentation

AnalysisDeclContextManager::AnalysisDeclContextManager ( bool  useUnoptimizedCFG = false,
bool  addImplicitDtors = false,
bool  addInitializers = false 
)
AnalysisDeclContextManager::~AnalysisDeclContextManager ( )

Definition at line 437 of file AnalysisDeclContext.cpp.


Member Function Documentation

void AnalysisDeclContextManager::clear ( )

Discard all previously created AnalysisDeclContexts.

Definition at line 71 of file AnalysisDeclContext.cpp.

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

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

Definition at line 381 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 385 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]

Friends And Related Function Documentation

friend class AnalysisDeclContext [friend]

Definition at line 412 of file AnalysisContext.h.

Referenced by getContext().


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