clang
10.0.0git
|
#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 |
int64_t | getID () 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 |
const ParentMap & | getParentMap () const |
const ImplicitParamDecl * | getSelfDecl () const |
const StackFrameContext * | getStackFrame () const |
void | dumpStack (raw_ostream &Out, const char *NL="\, std::function< void(const LocationContext *)> printMoreInfoPerContext=[](const LocationContext *) {}) const |
void | printJson (raw_ostream &Out, const char *NL="\, unsigned int Space=0, bool IsDot=false, std::function< void(const LocationContext *)> printMoreInfoPerContext=[](const LocationContext *) {}) const |
void | dump () const |
Static Public Member Functions | |
static void | Profile (llvm::FoldingSetNodeID &ID, AnalysisDeclContext *ctx, const LocationContext *parent, const Stmt *s, const CFGBlock *blk, unsigned blockCount, 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, int64_t ID) | |
Definition at line 296 of file AnalysisDeclContext.h.
|
overridedefault |
|
inlinestatic |
Definition at line 342 of file AnalysisDeclContext.h.
References clang::LocationContext::getKind().
|
inline |
Definition at line 322 of file AnalysisDeclContext.h.
Referenced by clang::ento::ExprEngine::CreateCXXTemporaryObject(), clang::ento::CoreEngine::ExecuteWorkListWithInitialState(), clang::CallEventManager::getCaller(), clang::ento::StackHintGeneratorForSymbol::getMessage(), and clang::ento::ExprEngine::VisitCXXConstructExpr().
|
inline |
Definition at line 324 of file AnalysisDeclContext.h.
Referenced by clang::ento::ExprEngine::CreateCXXTemporaryObject(), clang::CallEventManager::getCaller(), and getLocationForCaller().
|
inline |
Definition at line 329 of file AnalysisDeclContext.h.
Referenced by clang::ento::ExprEngine::CreateCXXTemporaryObject(), clang::CallEventManager::getCaller(), and getLocationForCaller().
|
inlineoverridevirtual |
Return true if the current LocationContext has no caller context.
Reimplemented from clang::LocationContext.
Definition at line 327 of file AnalysisDeclContext.h.
Referenced by clang::LocationContext::inTopFrame(), isPointerToConst(), and clang::ento::ExprEngine::processEndOfFunction().
|
overridevirtual |
Implements clang::LocationContext.
Definition at line 363 of file AnalysisDeclContext.cpp.
Referenced by clang::LocationContextManager::getStackFrame().
|
inlinestatic |
Definition at line 333 of file AnalysisDeclContext.h.
|
friend |
Definition at line 297 of file AnalysisDeclContext.h.