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

#include <AnalysisContext.h>

Inheritance diagram for clang::StackFrameContext:
[legend]
Collaboration diagram for clang::StackFrameContext:
[legend]

Public Member Functions

 ~StackFrameContext () override
 
const StmtgetCallSite () const
 
const CFGBlockgetCallSiteBlock () const
 
bool inTopFrame () const override
 Return true if the current LocationContext has no caller context. More...
 
unsigned getIndex () const
 
void Profile (llvm::FoldingSetNodeID &ID) override
 
- Public Member Functions inherited from clang::LocationContext
virtual ~LocationContext ()
 
ContextKind getKind () const
 
AnalysisDeclContextgetAnalysisDeclContext () const
 
const LocationContextgetParent () const
 
bool isParentOf (const LocationContext *LC) const
 
const DeclgetDecl () const
 
CFGgetCFG () const
 
template<typename T >
T * getAnalysis () const
 
ParentMapgetParentMap () const
 
const ImplicitParamDeclgetSelfDecl () const
 
const StackFrameContextgetCurrentStackFrame () const
 
void dumpStack (raw_ostream &OS, StringRef Indent="") const
 
void dumpStack () const
 

Static Public Member Functions

static void Profile (llvm::FoldingSetNodeID &ID, AnalysisDeclContext *ctx, const LocationContext *parent, const Stmt *s, const CFGBlock *blk, unsigned idx)
 
static bool classof (const LocationContext *Ctx)
 
- Static Public Member Functions inherited from clang::LocationContext
static void ProfileCommon (llvm::FoldingSetNodeID &ID, ContextKind ck, AnalysisDeclContext *ctx, const LocationContext *parent, const void *data)
 

Friends

class LocationContextManager
 

Additional Inherited Members

- Public Types inherited from clang::LocationContext
enum  ContextKind { StackFrame, Scope, Block }
 
- Protected Member Functions inherited from clang::LocationContext
 LocationContext (ContextKind k, AnalysisDeclContext *ctx, const LocationContext *parent)
 

Detailed Description

Definition at line 274 of file AnalysisContext.h.

Constructor & Destructor Documentation

clang::StackFrameContext::~StackFrameContext ( )
inlineoverride

Definition at line 292 of file AnalysisContext.h.

Member Function Documentation

static bool clang::StackFrameContext::classof ( const LocationContext Ctx)
inlinestatic
const Stmt* clang::StackFrameContext::getCallSite ( ) const
inline
const CFGBlock* clang::StackFrameContext::getCallSiteBlock ( ) const
inline

Definition at line 296 of file AnalysisContext.h.

Referenced by clang::CallEventManager::getCaller(), and getLocationForCaller().

unsigned clang::StackFrameContext::getIndex ( ) const
inline

Definition at line 301 of file AnalysisContext.h.

Referenced by clang::CallEventManager::getCaller(), and getLocationForCaller().

bool clang::StackFrameContext::inTopFrame ( ) const
inlineoverridevirtual

Return true if the current LocationContext has no caller context.

Reimplemented from clang::LocationContext.

Definition at line 299 of file AnalysisContext.h.

References clang::LocationContext::getParent().

Referenced by clang::LocationContext::inTopFrame().

void StackFrameContext::Profile ( llvm::FoldingSetNodeID &  ID)
overridevirtual
static void clang::StackFrameContext::Profile ( llvm::FoldingSetNodeID &  ID,
AnalysisDeclContext ctx,
const LocationContext parent,
const Stmt s,
const CFGBlock blk,
unsigned  idx 
)
inlinestatic

Friends And Related Function Documentation

friend class LocationContextManager
friend

Definition at line 284 of file AnalysisContext.h.


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