clang 20.0.0git
|
#include "clang/Analysis/AnalysisDeclContext.h"
Public Member Functions | |
~LocationContextManager () | |
const StackFrameContext * | getStackFrame (AnalysisDeclContext *ADC, const LocationContext *ParentLC, const Stmt *S, const CFGBlock *Block, unsigned BlockCount, unsigned Index) |
Obtain a context of the call stack using its parent context. | |
const BlockInvocationContext * | getBlockInvocationContext (AnalysisDeclContext *ADC, const LocationContext *ParentLC, const BlockDecl *BD, const void *Data) |
Obtain a context of the block invocation using its parent context. | |
void | clear () |
Discard all previously created LocationContext objects. | |
Definition at line 387 of file AnalysisDeclContext.h.
LocationContextManager::~LocationContextManager | ( | ) |
Definition at line 693 of file AnalysisDeclContext.cpp.
References clear().
void LocationContextManager::clear | ( | ) |
Discard all previously created LocationContext objects.
Definition at line 697 of file AnalysisDeclContext.cpp.
References E.
Referenced by ~LocationContextManager().
const BlockInvocationContext * LocationContextManager::getBlockInvocationContext | ( | AnalysisDeclContext * | ADC, |
const LocationContext * | ParentLC, | ||
const BlockDecl * | BD, | ||
const void * | Data | ||
) |
Obtain a context of the block invocation using its parent context.
ADC | The AnalysisDeclContext. |
ParentLC | The parent context of this newly created context. |
BD | The BlockDecl. |
Data | The raw data to store as part of the context. |
Definition at line 442 of file AnalysisDeclContext.cpp.
References clang::Data, and clang::BlockInvocationContext::Profile().
Referenced by clang::AnalysisDeclContext::getBlockInvocationContext().
const StackFrameContext * LocationContextManager::getStackFrame | ( | AnalysisDeclContext * | ADC, |
const LocationContext * | ParentLC, | ||
const Stmt * | S, | ||
const CFGBlock * | Block, | ||
unsigned | BlockCount, | ||
unsigned | Index | ||
) |
Obtain a context of the call stack using its parent context.
ADC | The AnalysisDeclContext. |
ParentLC | The parent context of this newly created context. |
S | The call. |
Block | The basic block. |
BlockCount | The current count of entering into Blk . |
Index | The index of Blk . |
D
with parent context ParentLC
. Definition at line 427 of file AnalysisDeclContext.cpp.
References clang::StackFrameContext::Profile(), and s.
Referenced by clang::AnalysisDeclContextManager::getStackFrame(), and clang::AnalysisDeclContext::getStackFrame().