clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::StackFrameContext Class Reference

#include <AnalysisContext.h>

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

List of all members.

Public Member Functions

 ~StackFrameContext ()
const Stmt * getCallSite () const
const CFGBlock * getCallSiteBlock () const
bool inTopFrame () const override
 Return true if the current LocationContext has no caller context.
unsigned getIndex () const
void Profile (llvm::FoldingSetNodeID &ID) override

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)

Friends

class LocationContextManager

Detailed Description

Definition at line 274 of file AnalysisContext.h.


Constructor & Destructor Documentation

Definition at line 292 of file AnalysisContext.h.


Member Function Documentation

static bool clang::StackFrameContext::classof ( const LocationContext *  Ctx) [inline, static]
const Stmt* clang::StackFrameContext::getCallSite ( ) const [inline]

Definition at line 296 of file AnalysisContext.h.

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

Definition at line 301 of file AnalysisContext.h.

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

bool clang::StackFrameContext::inTopFrame ( ) const [inline, override, virtual]

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) [override, virtual]
static void clang::StackFrameContext::Profile ( llvm::FoldingSetNodeID &  ID,
AnalysisDeclContext *  ctx,
const LocationContext *  parent,
const Stmt *  s,
const CFGBlock *  blk,
unsigned  idx 
) [inline, static]

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: