clang  12.0.0git
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::BlockInvocationContext Class Reference

It represents a block invocation (based on BlockCall). More...

#include "clang/Analysis/AnalysisDeclContext.h"

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

Public Member Functions

 ~BlockInvocationContext () override=default
 
const BlockDeclgetBlockDecl () const
 
const void * getData () const
 
void Profile (llvm::FoldingSetNodeID &ID) override
 
- Public Member Functions inherited from clang::LocationContext
virtual ~LocationContext ()
 
ContextKind getKind () const
 
int64_t getID () const
 
AnalysisDeclContextgetAnalysisDeclContext () const
 
const LocationContextgetParent () const
 
bool isParentOf (const LocationContext *LC) const
 
const DeclgetDecl () const
 
CFGgetCFG () const
 
template<typename T >
T * getAnalysis () const
 
const ParentMapgetParentMap () const
 
const ImplicitParamDeclgetSelfDecl () const
 
const StackFrameContextgetStackFrame () const
 
virtual bool inTopFrame () const
 
LLVM_DUMP_METHOD void dumpStack (raw_ostream &Out) const
 Prints out the call stack. More...
 
void printJson (raw_ostream &Out, const char *NL="\, unsigned int Space=0, bool IsDot=false, std::function< void(const LocationContext *)> printMoreInfoPerContext=[](const LocationContext *) {}) const
 Prints out the call stack in json format. More...
 
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 Public Member Functions inherited from clang::LocationContext
static void ProfileCommon (llvm::FoldingSetNodeID &ID, ContextKind ck, AnalysisDeclContext *ctx, const LocationContext *parent, const void *data)
 

Friends

class LocationContextManager
 

Additional Inherited Members

- Public Types inherited from clang::LocationContext
enum  ContextKind { StackFrame, Block }
 
- Protected Member Functions inherited from clang::LocationContext
 LocationContext (ContextKind k, AnalysisDeclContext *ctx, const LocationContext *parent, int64_t ID)
 

Detailed Description

It represents a block invocation (based on BlockCall).

Definition at line 347 of file AnalysisDeclContext.h.

Constructor & Destructor Documentation

◆ ~BlockInvocationContext()

clang::BlockInvocationContext::~BlockInvocationContext ( )
overridedefault

Member Function Documentation

◆ classof()

static bool clang::BlockInvocationContext::classof ( const LocationContext LC)
inlinestatic

Definition at line 376 of file AnalysisDeclContext.h.

References clang::LocationContext::getKind().

◆ getBlockDecl()

const BlockDecl* clang::BlockInvocationContext::getBlockDecl ( ) const
inline

Definition at line 363 of file AnalysisDeclContext.h.

◆ getData()

const void* clang::BlockInvocationContext::getData ( ) const
inline

Definition at line 365 of file AnalysisDeclContext.h.

◆ Profile() [1/2]

void BlockInvocationContext::Profile ( llvm::FoldingSetNodeID &  ID)
overridevirtual

◆ Profile() [2/2]

static void clang::BlockInvocationContext::Profile ( llvm::FoldingSetNodeID &  ID,
AnalysisDeclContext ADC,
const LocationContext ParentLC,
const BlockDecl BD,
const void *  Data 
)
inlinestatic

Definition at line 369 of file AnalysisDeclContext.h.

Friends And Related Function Documentation

◆ LocationContextManager

friend class LocationContextManager
friend

Definition at line 348 of file AnalysisDeclContext.h.


The documentation for this class was generated from the following files: