clang 20.0.0git
|
Defines the runtime definition of the called function. More...
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
Public Member Functions | |
RuntimeDefinition ()=default | |
RuntimeDefinition (const Decl *InD) | |
RuntimeDefinition (const Decl *InD, bool Foreign) | |
RuntimeDefinition (const Decl *InD, const MemRegion *InR) | |
const Decl * | getDecl () |
bool | isForeign () const |
bool | mayHaveOtherDefinitions () |
Check if the definition we have is precise. | |
const MemRegion * | getDispatchRegion () |
When other definitions are possible, returns the region whose runtime type determines the method definition. | |
Defines the runtime definition of the called function.
Encapsulates the information we have about which Decl will be used when the call is executed on the given path. When dealing with dynamic dispatch, the information is based on DynamicTypeInfo and might not be precise.
Definition at line 110 of file CallEvent.h.
|
default |
|
inline |
Definition at line 127 of file CallEvent.h.
References D.
Definition at line 128 of file CallEvent.h.
References D.
|
inline |
Definition at line 129 of file CallEvent.h.
References D.
|
inline |
Definition at line 131 of file CallEvent.h.
References D.
Referenced by clang::ento::ExprEngine::defaultEvalCall().
|
inline |
When other definitions are possible, returns the region whose runtime type determines the method definition.
Definition at line 141 of file CallEvent.h.
Referenced by clang::ento::ExprEngine::defaultEvalCall().
|
inline |
Definition at line 132 of file CallEvent.h.
Referenced by clang::ento::ExprEngine::defaultEvalCall().
|
inline |
Check if the definition we have is precise.
If not, it is possible that the call dispatches to another definition at execution time.
Definition at line 137 of file CallEvent.h.
Referenced by clang::ento::ExprEngine::defaultEvalCall().