class StackFrameContext
Declaration
class StackFrameContext : public LocationContext { /* full declaration omitted */ };
Description
It represents a stack frame of the call stack (based on CallEvent).
Declared at: clang/include/clang/Analysis/AnalysisDeclContext.h:299
Inherits from: LocationContext
Member Variables
- private const clang::Stmt* CallSite
- private const clang::CFGBlock* Block
- private const unsigned int BlockCount
- private const unsigned int Index
Method Overview
- public void Profile(llvm::FoldingSetNodeID & ID)
- public static void Profile(llvm::FoldingSetNodeID & ID, clang::AnalysisDeclContext * ADC, const clang::LocationContext * ParentLC, const clang::Stmt * S, const clang::CFGBlock * Block, unsigned int BlockCount, unsigned int Index)
- private StackFrameContext(clang::AnalysisDeclContext * ADC, const clang::LocationContext * ParentLC, const clang::Stmt * S, const clang::CFGBlock * Block, unsigned int BlockCount, unsigned int Index, int64_t ID)
- public static bool classof(const clang::LocationContext * LC)
- public const clang::Stmt * getCallSite() const
- public const clang::CFGBlock * getCallSiteBlock() const
- public clang::CFGElement getCallSiteCFGElement() const
- public unsigned int getIndex() const
- public bool inTopFrame() const
- public ~StackFrameContext()
Inherited from LocationContext:
- public Profile
- public ProfileCommon
- public dump
- public dumpStack
- public getAnalysis
- public getAnalysisDeclContext
- public getCFG
- public getDecl
- public getID
- public getKind
- public getParent
- public getParentMap
- public getSelfDecl
- public getStackFrame
- public inTopFrame
- public isParentOf
- public printJson
Inherited from FoldingSetBase::Node:
Methods
¶void Profile(llvm::FoldingSetNodeID& ID)
void Profile(llvm::FoldingSetNodeID& ID)
Declared at: clang/include/clang/Analysis/AnalysisDeclContext.h:335
Parameters
¶static void Profile(
llvm::FoldingSetNodeID& ID,
clang::AnalysisDeclContext* ADC,
const clang::LocationContext* ParentLC,
const clang::Stmt* S,
const clang::CFGBlock* Block,
unsigned int BlockCount,
unsigned int Index)
static void Profile(
llvm::FoldingSetNodeID& ID,
clang::AnalysisDeclContext* ADC,
const clang::LocationContext* ParentLC,
const clang::Stmt* S,
const clang::CFGBlock* Block,
unsigned int BlockCount,
unsigned int Index)
Declared at: clang/include/clang/Analysis/AnalysisDeclContext.h:337
Parameters
- llvm::FoldingSetNodeID& ID
- clang::AnalysisDeclContext* ADC
- const clang::LocationContext* ParentLC
- const clang::Stmt* S
- const clang::CFGBlock* Block
- unsigned int BlockCount
- unsigned int Index
¶StackFrameContext(
clang::AnalysisDeclContext* ADC,
const clang::LocationContext* ParentLC,
const clang::Stmt* S,
const clang::CFGBlock* Block,
unsigned int BlockCount,
unsigned int Index,
int64_t ID)
StackFrameContext(
clang::AnalysisDeclContext* ADC,
const clang::LocationContext* ParentLC,
const clang::Stmt* S,
const clang::CFGBlock* Block,
unsigned int BlockCount,
unsigned int Index,
int64_t ID)
Declared at: clang/include/clang/Analysis/AnalysisDeclContext.h:316
Parameters
- clang::AnalysisDeclContext* ADC
- const clang::LocationContext* ParentLC
- const clang::Stmt* S
- const clang::CFGBlock* Block
- unsigned int BlockCount
- unsigned int Index
- int64_t ID
¶static bool classof(
const clang::LocationContext* LC)
static bool classof(
const clang::LocationContext* LC)
Declared at: clang/include/clang/Analysis/AnalysisDeclContext.h:347
Parameters
- const clang::LocationContext* LC
¶const clang::Stmt* getCallSite() const
const clang::Stmt* getCallSite() const
Declared at: clang/include/clang/Analysis/AnalysisDeclContext.h:325
¶const clang::CFGBlock* getCallSiteBlock() const
const clang::CFGBlock* getCallSiteBlock() const
Declared at: clang/include/clang/Analysis/AnalysisDeclContext.h:327
¶clang::CFGElement getCallSiteCFGElement() const
clang::CFGElement getCallSiteCFGElement() const
Declared at: clang/include/clang/Analysis/AnalysisDeclContext.h:333
¶unsigned int getIndex() const
unsigned int getIndex() const
Declared at: clang/include/clang/Analysis/AnalysisDeclContext.h:331
¶bool inTopFrame() const
bool inTopFrame() const
Declared at: clang/include/clang/Analysis/AnalysisDeclContext.h:329
Returns
Whether the current LocationContext has no caller context.
¶~StackFrameContext()
~StackFrameContext()
Declared at: clang/include/clang/Analysis/AnalysisDeclContext.h:323