clang: clang::BlockInvocationContext Class Reference (original) (raw)
It represents a block invocation (based on BlockCall). More...
#include "[clang/Analysis/AnalysisDeclContext.h](AnalysisDeclContext%5F8h%5Fsource.html)"
Public Member Functions | |
---|---|
~BlockInvocationContext () override=default | |
const BlockDecl * | getBlockDecl () const |
const void * | getData () const |
void | Profile (llvm::FoldingSetNodeID &ID) override |
![]() |
|
virtual | ~LocationContext () |
ContextKind | getKind () const |
int64_t | getID () const |
LLVM_ATTRIBUTE_RETURNS_NONNULL AnalysisDeclContext * | getAnalysisDeclContext () const |
const LocationContext * | getParent () const |
It might return null. | |
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 |
virtual bool | inTopFrame () const |
virtual void | Profile (llvm::FoldingSetNodeID &ID)=0 |
LLVM_DUMP_METHOD void | dumpStack (raw_ostream &Out) const |
Prints out the call stack. | |
void | printJson (raw_ostream &Out, const char *NL="\n", unsigned int Space=0, bool IsDot=false, std::function< void(const LocationContext *)> printMoreInfoPerContext=[](const LocationContext *) {}) const |
Prints out the call stack in json format. | |
LLVM_DUMP_METHOD void | dump () const |
Static Public Member Functions | |
---|---|
static void | Profile (llvm::FoldingSetNodeID &ID, AnalysisDeclContext *ADC, const LocationContext *ParentLC, const BlockDecl *BD, const void *Data) |
static bool | classof (const LocationContext *LC) |
![]() |
|
static void | ProfileCommon (llvm::FoldingSetNodeID &ID, ContextKind ck, AnalysisDeclContext *ctx, const LocationContext *parent, const void *data) |
Additional Inherited Members | |
---|---|
![]() |
|
enum | ContextKind { StackFrame, Block } |
![]() |
|
LocationContext (ContextKind k, AnalysisDeclContext *ctx, const LocationContext *parent, int64_t ID) | |
It represents a block invocation (based on BlockCall).
Definition at line 353 of file AnalysisDeclContext.h.
clang::BlockInvocationContext::~BlockInvocationContext ( ) | overridedefault |
---|
◆ classof()
◆ getBlockDecl()
const BlockDecl * clang::BlockInvocationContext::getBlockDecl ( ) const | inline |
---|
◆ getData()
const void * clang::BlockInvocationContext::getData ( ) const | inline |
---|
◆ Profile() [1/2]
void BlockInvocationContext::Profile ( llvm::FoldingSetNodeID & ID) | overridevirtual |
---|
◆ Profile() [2/2]
◆ LocationContextManager
The documentation for this class was generated from the following files:
- include/clang/Analysis/AnalysisDeclContext.h
- lib/Analysis/AnalysisDeclContext.cpp