clang  9.0.0svn
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::BlockInvocationContext Class Reference

#include "clang/Analysis/AnalysisDeclContext.h"

Inheritance diagram for clang::BlockInvocationContext:
Inheritance graph
Collaboration diagram for clang::BlockInvocationContext:
Collaboration graph

Public Member Functions

 ~BlockInvocationContext () override=default
const BlockDeclgetBlockDecl () const
const void * getContextData () 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
ParentMapgetParentMap () const
const ImplicitParamDeclgetSelfDecl () const
const StackFrameContextgetStackFrame () const
virtual bool inTopFrame () const
 Return true if the current LocationContext has no caller context. More...
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 BlockDecl *bd, const void *contextData)
static bool classof (const LocationContext *Ctx)
- Static Public Member Functions inherited from clang::LocationContext
static void ProfileCommon (llvm::FoldingSetNodeID &ID, ContextKind ck, AnalysisDeclContext *ctx, const LocationContext *parent, const void *data)


class LocationContextManager

Additional Inherited Members

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

Detailed Description

Definition at line 361 of file AnalysisDeclContext.h.

Constructor & Destructor Documentation

◆ ~BlockInvocationContext()

clang::BlockInvocationContext::~BlockInvocationContext ( )

Member Function Documentation

◆ classof()

static bool clang::BlockInvocationContext::classof ( const LocationContext Ctx)

Definition at line 391 of file AnalysisDeclContext.h.

References clang::LocationContext::getKind().

◆ getBlockDecl()

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

Definition at line 378 of file AnalysisDeclContext.h.

◆ getContextData()

const void* clang::BlockInvocationContext::getContextData ( ) const

Definition at line 380 of file AnalysisDeclContext.h.

◆ Profile() [1/2]

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

◆ Profile() [2/2]

static void clang::BlockInvocationContext::Profile ( llvm::FoldingSetNodeID &  ID,
AnalysisDeclContext ctx,
const LocationContext parent,
const BlockDecl bd,
const void *  contextData 

Definition at line 384 of file AnalysisDeclContext.h.

Friends And Related Function Documentation

◆ LocationContextManager

friend class LocationContextManager

Definition at line 362 of file AnalysisDeclContext.h.

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