clang API Documentation
#include <AnalysisContext.h>
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 |
Definition at line 274 of file AnalysisContext.h.
clang::StackFrameContext::~StackFrameContext | ( | ) | [inline] |
Definition at line 292 of file AnalysisContext.h.
static bool clang::StackFrameContext::classof | ( | const LocationContext * | Ctx | ) | [inline, static] |
Definition at line 313 of file AnalysisContext.h.
References clang::LocationContext::getKind(), and clang::LocationContext::StackFrame.
const Stmt* clang::StackFrameContext::getCallSite | ( | ) | const [inline] |
Definition at line 294 of file AnalysisContext.h.
Referenced by clang::CallEventManager::getCaller(), clang::ento::StackHintGeneratorForSymbol::getMessage(), reversePropagateInterestingSymbols(), and clang::ento::ExprEngine::VisitCXXConstructExpr().
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 [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] |
Implements clang::LocationContext.
Definition at line 324 of file AnalysisDeclContext.cpp.
References clang::LocationContext::getAnalysisDeclContext(), and clang::LocationContext::getParent().
Referenced by clang::LocationContextManager::getStackFrame().
static void clang::StackFrameContext::Profile | ( | llvm::FoldingSetNodeID & | ID, |
AnalysisDeclContext * | ctx, | ||
const LocationContext * | parent, | ||
const Stmt * | s, | ||
const CFGBlock * | blk, | ||
unsigned | idx | ||
) | [inline, static] |
Definition at line 305 of file AnalysisContext.h.
References clang::LocationContext::ProfileCommon(), and clang::LocationContext::StackFrame.
friend class LocationContextManager [friend] |
Definition at line 284 of file AnalysisContext.h.