|
clang 22.0.0git
|
#include "clang/Analysis/AnalysisDeclContext.h"
Public Member Functions | |
| AnalysisDeclContextManager (ASTContext &ASTCtx, bool useUnoptimizedCFG=false, bool addImplicitDtors=false, bool addInitializers=false, bool addTemporaryDtors=false, bool addLifetime=false, bool addLoopExit=false, bool addScopes=false, bool synthesizeBodies=false, bool addStaticInitBranches=false, bool addCXXNewAllocator=true, bool addRichCXXConstructors=true, bool markElidedCXXConstructors=true, bool addVirtualBaseBranches=true, std::unique_ptr< CodeInjector > injector=nullptr) | |
| AnalysisDeclContext * | getContext (const Decl *D) |
| bool | getUseUnoptimizedCFG () const |
| CFG::BuildOptions & | getCFGBuildOptions () |
| bool | synthesizeBodies () const |
| const StackFrameContext * | getStackFrame (const Decl *D) |
| Obtain the beginning context of the analysis. | |
| const StackFrameContext * | getStackFrame (AnalysisDeclContext *ADC, const LocationContext *Parent, const Stmt *S, const CFGBlock *Block, unsigned BlockCount, unsigned Index) |
| Obtain a context of the call stack using its parent context. | |
| BodyFarm & | getBodyFarm () |
| void | clear () |
| Discard all previously created AnalysisDeclContexts. | |
Friends | |
| class | AnalysisDeclContext |
Definition at line 425 of file AnalysisDeclContext.h.
| AnalysisDeclContextManager::AnalysisDeclContextManager | ( | ASTContext & | ASTCtx, |
| bool | useUnoptimizedCFG = false, | ||
| bool | addImplicitDtors = false, | ||
| bool | addInitializers = false, | ||
| bool | addTemporaryDtors = false, | ||
| bool | addLifetime = false, | ||
| bool | addLoopExit = false, | ||
| bool | addScopes = false, | ||
| bool | synthesizeBodies = false, | ||
| bool | addStaticInitBranches = false, | ||
| bool | addCXXNewAllocator = true, | ||
| bool | addRichCXXConstructors = true, | ||
| bool | markElidedCXXConstructors = true, | ||
| bool | addVirtualBaseBranches = true, | ||
| std::unique_ptr< CodeInjector > | injector = nullptr ) |
Definition at line 66 of file AnalysisDeclContext.cpp.
References synthesizeBodies().
| void AnalysisDeclContextManager::clear | ( | ) |
Discard all previously created AnalysisDeclContexts.
Definition at line 89 of file AnalysisDeclContext.cpp.
| BodyFarm & AnalysisDeclContextManager::getBodyFarm | ( | ) |
Definition at line 311 of file AnalysisDeclContext.cpp.
|
inline |
Definition at line 462 of file AnalysisDeclContext.h.
| AnalysisDeclContext * AnalysisDeclContextManager::getContext | ( | const Decl * | D | ) |
Definition at line 297 of file AnalysisDeclContext.cpp.
References AnalysisDeclContext.
Referenced by clang::ento::CallEvent::getCalleeAnalysisDeclContext(), and getStackFrame().
|
inline |
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 476 of file AnalysisDeclContext.h.
References AnalysisDeclContext, clang::Block, and clang::LocationContext::getStackFrame().
|
inline |
Obtain the beginning context of the analysis.
D. Definition at line 470 of file AnalysisDeclContext.h.
References getContext(), and clang::LocationContext::getStackFrame().
Referenced by clang::ento::CallEvent::getCalleeStackFrame().
|
inline |
Definition at line 458 of file AnalysisDeclContext.h.
|
inline |
Definition at line 465 of file AnalysisDeclContext.h.
Referenced by AnalysisDeclContextManager().
|
friend |
Definition at line 489 of file AnalysisDeclContext.h.
References AnalysisDeclContext.
Referenced by AnalysisDeclContext, getContext(), and getStackFrame().