clang
8.0.0
|
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, const MemRegion *InR) | |
const Decl * | getDecl () |
bool | mayHaveOtherDefinitions () |
Check if the definition we have is precise. More... | |
const MemRegion * | getDispatchRegion () |
When other definitions are possible, returns the region whose runtime type determines the method definition. More... | |
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 134 of file CallEvent.h.
|
default |
|
inline |
Definition at line 147 of file CallEvent.h.
|
inline |
Definition at line 148 of file CallEvent.h.
|
inline |
Definition at line 150 of file CallEvent.h.
Referenced by clang::ento::ExprEngine::defaultEvalCall(), and clang::ento::CallEvent::getCalleeAnalysisDeclContext().
|
inline |
When other definitions are possible, returns the region whose runtime type determines the method definition.
Definition at line 159 of file CallEvent.h.
|
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 155 of file CallEvent.h.
Referenced by clang::ento::ExprEngine::defaultEvalCall(), and clang::ento::CallEvent::getCalleeAnalysisDeclContext().