clang API Documentation

Public Member Functions
clang::ento::RuntimeDefinition Class Reference

Defines the runtime definition of the called function. More...

#include <CallEvent.h>

List of all members.

Public Member Functions

 RuntimeDefinition ()
 RuntimeDefinition (const Decl *InD)
 RuntimeDefinition (const Decl *InD, const MemRegion *InR)
const DeclgetDecl ()
bool mayHaveOtherDefinitions ()
 Check if the definition we have is precise. If not, it is possible that the call dispatches to another definition at execution time.
const MemRegiongetDispatchRegion ()

Detailed Description

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 77 of file CallEvent.h.


Constructor & Destructor Documentation

Definition at line 89 of file CallEvent.h.

Definition at line 90 of file CallEvent.h.

clang::ento::RuntimeDefinition::RuntimeDefinition ( const Decl InD,
const MemRegion InR 
) [inline]

Definition at line 91 of file CallEvent.h.


Member Function Documentation

Definition at line 92 of file CallEvent.h.

Referenced by clang::ento::ExprEngine::defaultEvalCall().

When other definitions are possible, returns the region whose runtime type determines the method definition.

Definition at line 101 of file CallEvent.h.

Referenced by clang::ento::ExprEngine::defaultEvalCall().

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 97 of file CallEvent.h.

Referenced by clang::ento::ExprEngine::defaultEvalCall().


The documentation for this class was generated from the following file: