clang 17.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 106 of file CallEvent.h.
|
default |
|
inline |
Definition at line 123 of file CallEvent.h.
Definition at line 124 of file CallEvent.h.
|
inline |
Definition at line 125 of file CallEvent.h.
|
inline |
Definition at line 127 of file CallEvent.h.
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 137 of file CallEvent.h.
Referenced by clang::ento::ExprEngine::defaultEvalCall().
|
inline |
Definition at line 128 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 133 of file CallEvent.h.
Referenced by clang::ento::ExprEngine::defaultEvalCall().