clang
7.0.0
|
#include "clang/Analysis/AnalysisDeclContext.h"
Public Member Functions | |
~StackFrameContext () override=default | |
const Stmt * | getCallSite () const |
const CFGBlock * | getCallSiteBlock () 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 |
![]() | |
virtual | ~LocationContext () |
ContextKind | getKind () const |
AnalysisDeclContext * | getAnalysisDeclContext () const |
const LocationContext * | getParent () const |
bool | isParentOf (const LocationContext *LC) const |
const Decl * | getDecl () const |
CFG * | getCFG () const |
template<typename T > | |
T * | getAnalysis () const |
ParentMap & | getParentMap () const |
const ImplicitParamDecl * | getSelfDecl () const |
const StackFrameContext * | getStackFrame () const |
void | dumpStack (raw_ostream &OS, StringRef Indent={}, const char *NL="\, const char *Sep="", std::function< void(const LocationContext *)> printMoreInfoPerContext=[](const LocationContext *) {}) 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 void | ProfileCommon (llvm::FoldingSetNodeID &ID, ContextKind ck, AnalysisDeclContext *ctx, const LocationContext *parent, const void *data) |
Friends | |
class | LocationContextManager |
Additional Inherited Members | |
![]() | |
enum | ContextKind { StackFrame, Scope, Block } |
![]() | |
LocationContext (ContextKind k, AnalysisDeclContext *ctx, const LocationContext *parent) | |
Definition at line 289 of file AnalysisDeclContext.h.
|
overridedefault |
|
inlinestatic |
Definition at line 329 of file AnalysisDeclContext.h.
References clang::LocationContext::getKind().
|
inline |
Definition at line 310 of file AnalysisDeclContext.h.
Referenced by clang::CallEventManager::getCaller(), clang::ento::StackHintGeneratorForSymbol::getMessage(), isSynthesizedAccessor(), reversePropagateInterestingSymbols(), and clang::ento::ExprEngine::VisitCXXConstructExpr().
|
inline |
Definition at line 312 of file AnalysisDeclContext.h.
Referenced by clang::CallEventManager::getCaller(), and getLocationForCaller().
|
inline |
Definition at line 317 of file AnalysisDeclContext.h.
Referenced by getLocationForCaller().
|
inlineoverridevirtual |
Return true if the current LocationContext has no caller context.
Reimplemented from clang::LocationContext.
Definition at line 315 of file AnalysisDeclContext.h.
Referenced by clang::LocationContext::inTopFrame().
|
overridevirtual |
Implements clang::LocationContext.
Definition at line 367 of file AnalysisDeclContext.cpp.
Referenced by clang::LocationContextManager::getStackFrame().
|
inlinestatic |
Definition at line 321 of file AnalysisDeclContext.h.
|
friend |
Definition at line 290 of file AnalysisDeclContext.h.