clang 19.0.0git
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
clang::ento::CallEvent Class Referenceabstract

Represents an abstract call to a function or method along a particular path. More...

#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"

Inheritance diagram for clang::ento::CallEvent:
Inheritance graph
[legend]

Public Types

using Kind = CallEventKind
 
using FrameBindingTy = std::pair< SVal, SVal >
 
using BindingsTy = SmallVectorImpl< FrameBindingTy >
 
using param_type_iterator = llvm::mapped_iterator< ArrayRef< ParmVarDecl * >::iterator, GetTypeFn >
 

Public Member Functions

CallEventoperator= (const CallEvent &)=delete
 
virtual ~CallEvent ()=default
 
virtual Kind getKind () const =0
 Returns the kind of call this is.
 
virtual StringRef getKindAsString () const =0
 
virtual const DeclgetDecl () const
 Returns the declaration of the function or method that will be called.
 
bool isForeign () const
 
void setForeign (bool B) const
 
const ProgramStateRefgetState () const
 The state in which the call is being evaluated.
 
const LocationContextgetLocationContext () const
 The context in which the call is being evaluated.
 
const CFGBlock::ConstCFGElementRefgetCFGElementRef () const
 
virtual RuntimeDefinition getRuntimeDefinition () const =0
 Returns the definition of the function or method that will be called.
 
virtual const ExprgetOriginExpr () const
 Returns the expression whose value will be the result of this call.
 
virtual unsigned getNumArgs () const =0
 Returns the number of arguments (explicit and implicit).
 
bool isInSystemHeader () const
 Returns true if the callee is known to be from a system header.
 
virtual SourceRange getSourceRange () const
 Returns a source range for the entire call, suitable for outputting in diagnostics.
 
virtual SVal getArgSVal (unsigned Index) const
 Returns the value of a given argument at the time of the call.
 
virtual const ExprgetArgExpr (unsigned Index) const
 Returns the expression associated with a given argument.
 
virtual SourceRange getArgSourceRange (unsigned Index) const
 Returns the source range for errors associated with this argument.
 
QualType getResultType () const
 Returns the result type, adjusted for references.
 
SVal getReturnValue () const
 Returns the return value of the call.
 
bool hasNonNullArgumentsWithType (bool(*Condition)(QualType)) const
 Returns true if the type of any of the non-null arguments satisfies the condition.
 
bool hasNonZeroCallbackArg () const
 Returns true if any of the arguments appear to represent callbacks.
 
bool hasVoidPointerToNonConstArg () const
 Returns true if any of the arguments is void*.
 
virtual bool argumentsMayEscape () const
 Returns true if any of the arguments are known to escape to long- term storage, even if this method will not modify them.
 
bool isGlobalCFunction (StringRef SpecificName=StringRef()) const
 Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.
 
const IdentifierInfogetCalleeIdentifier () const
 Returns the name of the callee, if its name is a simple identifier.
 
ProgramPoint getProgramPoint (bool IsPreVisit=false, const ProgramPointTag *Tag=nullptr) const
 Returns an appropriate ProgramPoint for this call.
 
ProgramStateRef invalidateRegions (unsigned BlockCount, ProgramStateRef Orig=nullptr) const
 Returns a new state with all argument regions invalidated.
 
virtual void getInitialStackFrameContents (const StackFrameContext *CalleeCtx, BindingsTy &Bindings) const =0
 Populates the given SmallVector with the bindings in the callee's stack frame at the start of this call.
 
template<typename T >
CallEventRef< T > cloneWithState (ProgramStateRef NewState) const
 Returns a copy of this CallEvent, but using the given state.
 
CallEventRef cloneWithState (ProgramStateRef NewState) const
 Returns a copy of this CallEvent, but using the given state.
 
AnalysisDeclContextgetCalleeAnalysisDeclContext () const
 Returns AnalysisDeclContext for the callee stack frame.
 
const StackFrameContextgetCalleeStackFrame (unsigned BlockCount) const
 Returns the callee stack frame.
 
const ParamVarRegiongetParameterLocation (unsigned Index, unsigned BlockCount) const
 Returns memory location for a parameter variable within the callee stack frame.
 
bool isArgumentConstructedDirectly (unsigned Index) const
 Returns true if on the current path, the argument was constructed by calling a C++ constructor over it.
 
virtual std::optional< unsignedgetAdjustedParameterIndex (unsigned ASTArgumentIndex) const
 Some calls have parameter numbering mismatched from argument numbering.
 
virtual unsigned getASTArgumentIndex (unsigned CallArgumentIndex) const
 Some call event sub-classes conveniently adjust mismatching AST indices to match parameter indices.
 
const ConstructionContextgetConstructionContext () const
 Returns the construction context of the call, if it is a C++ constructor call or a call of a function returning a C++ class instance.
 
std::optional< SValgetReturnValueUnderConstruction () const
 If the call returns a C++ record type then the region of its return value can be retrieved from its construction context.
 
const CallEventRef getCaller () const
 
bool isCalledFromSystemHeader () const
 
virtual ArrayRef< ParmVarDecl * > parameters () const =0
 Return call's formal parameters.
 
param_type_iterator param_type_begin () const
 Returns an iterator over the types of the call's formal parameters.
 
param_type_iterator param_type_end () const
 
void dump (raw_ostream &Out) const
 
void dump () const
 

Static Public Member Functions

static bool isCallStmt (const Stmt *S)
 Returns true if this is a statement is a function or method call of some kind.
 
static QualType getDeclaredResultType (const Decl *D)
 Returns the result type of a function or method declaration.
 
static bool isVariadic (const Decl *D)
 Returns true if the given decl is known to be variadic.
 

Protected Types

using ValueList = SmallVectorImpl< SVal >
 

Protected Member Functions

 CallEvent (const Expr *E, ProgramStateRef state, const LocationContext *lctx, CFGBlock::ConstCFGElementRef ElemRef)
 
 CallEvent (const Decl *D, ProgramStateRef state, const LocationContext *lctx, CFGBlock::ConstCFGElementRef ElemRef)
 
 CallEvent (const CallEvent &Original)
 
virtual void cloneTo (void *Dest) const =0
 Copies this CallEvent, with vtable intact, into a new block of memory.
 
SVal getSVal (const Stmt *S) const
 Get the value of arbitrary expressions at this point in the path.
 
virtual void getExtraInvalidatedValues (ValueList &Values, RegionAndSymbolInvalidationTraits *ETraits) const
 Used to specify non-argument regions that will be invalidated as a result of this call.
 

Protected Attributes

const void * Data
 
SourceLocation Location
 

Friends

template<typename T >
struct llvm::IntrusiveRefCntPtrInfo
 
class CallEventManager
 

Detailed Description

Represents an abstract call to a function or method along a particular path.

CallEvents are created through the factory methods of CallEventManager.

CallEvents should always be cheap to create and destroy. In order for CallEventManager to be able to re-use CallEvent-sized memory blocks, subclasses of CallEvent may not add any data members to the base class. Use the "Data" and "Location" fields instead.

Definition at line 152 of file CallEvent.h.

Member Typedef Documentation

◆ BindingsTy

Definition at line 369 of file CallEvent.h.

◆ FrameBindingTy

Definition at line 368 of file CallEvent.h.

◆ Kind

Definition at line 154 of file CallEvent.h.

◆ param_type_iterator

using clang::ento::CallEvent::param_type_iterator = llvm::mapped_iterator<ArrayRef<ParmVarDecl *>::iterator, GetTypeFn>

Definition at line 475 of file CallEvent.h.

◆ ValueList

Definition at line 205 of file CallEvent.h.

Constructor & Destructor Documentation

◆ CallEvent() [1/3]

clang::ento::CallEvent::CallEvent ( const Expr E,
ProgramStateRef  state,
const LocationContext lctx,
CFGBlock::ConstCFGElementRef  ElemRef 
)
inlineprotected

Definition at line 183 of file CallEvent.h.

◆ CallEvent() [2/3]

clang::ento::CallEvent::CallEvent ( const Decl D,
ProgramStateRef  state,
const LocationContext lctx,
CFGBlock::ConstCFGElementRef  ElemRef 
)
inlineprotected

Definition at line 187 of file CallEvent.h.

◆ CallEvent() [3/3]

clang::ento::CallEvent::CallEvent ( const CallEvent Original)
inlineprotected

Definition at line 192 of file CallEvent.h.

◆ ~CallEvent()

virtual clang::ento::CallEvent::~CallEvent ( )
virtualdefault

Member Function Documentation

◆ argumentsMayEscape()

virtual bool clang::ento::CallEvent::argumentsMayEscape ( ) const
inlinevirtual

Returns true if any of the arguments are known to escape to long- term storage, even if this method will not modify them.

Reimplemented in clang::ento::AnyFunctionCall, clang::ento::BlockCall, and clang::ento::ObjCMethodCall.

Definition at line 323 of file CallEvent.h.

References hasNonZeroCallbackArg().

Referenced by clang::ento::AnyFunctionCall::argumentsMayEscape(), clang::ento::ObjCMethodCall::argumentsMayEscape(), and invalidateRegions().

◆ cloneTo()

virtual void clang::ento::CallEvent::cloneTo ( void *  Dest) const
protectedpure virtual

◆ cloneWithState() [1/2]

template<typename T >
CallEventRef< T > clang::ento::CallEvent::cloneWithState ( ProgramStateRef  NewState) const

Returns a copy of this CallEvent, but using the given state.

Definition at line 1401 of file CallEvent.h.

References cloneTo(), and clang::Copy.

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

◆ cloneWithState() [2/2]

CallEventRef clang::ento::CallEvent::cloneWithState ( ProgramStateRef  NewState) const
inline

Returns a copy of this CallEvent, but using the given state.

Definition at line 381 of file CallEvent.h.

◆ dump() [1/2]

LLVM_DUMP_METHOD void CallEvent::dump ( ) const

Definition at line 329 of file CallEvent.cpp.

References dump().

Referenced by dump().

◆ dump() [2/2]

void CallEvent::dump ( raw_ostream &  Out) const

◆ getAdjustedParameterIndex()

virtual std::optional< unsigned > clang::ento::CallEvent::getAdjustedParameterIndex ( unsigned  ASTArgumentIndex) const
inlinevirtual

Some calls have parameter numbering mismatched from argument numbering.

This function converts an argument index to the corresponding parameter index. Returns std::nullopt is the argument doesn't correspond to any parameter variable.

Reimplemented in clang::ento::CXXMemberOperatorCall.

Definition at line 433 of file CallEvent.h.

Referenced by invalidateRegions().

◆ getArgExpr()

virtual const Expr * clang::ento::CallEvent::getArgExpr ( unsigned  Index) const
inlinevirtual

Returns the expression associated with a given argument.

May be null if this expression does not appear in the source.

Reimplemented in clang::ento::SimpleFunctionCall, clang::ento::BlockCall, clang::ento::CXXMemberCall, clang::ento::CXXMemberOperatorCall, clang::ento::CXXConstructorCall, clang::ento::CXXInheritedConstructorCall, clang::ento::CXXAllocatorCall, clang::ento::CXXDeallocatorCall, and clang::ento::ObjCMethodCall.

Definition at line 292 of file CallEvent.h.

Referenced by getArgSourceRange(), and getArgSVal().

◆ getArgSourceRange()

SourceRange CallEvent::getArgSourceRange ( unsigned  Index) const
virtual

Returns the source range for errors associated with this argument.

May be invalid if the argument is not written in the source.

Definition at line 315 of file CallEvent.cpp.

References getArgExpr(), and clang::Stmt::getSourceRange().

Referenced by clang::ento::retaincountchecker::RetainCountChecker::checkSummary().

◆ getArgSVal()

SVal CallEvent::getArgSVal ( unsigned  Index) const
virtual

◆ getASTArgumentIndex()

virtual unsigned clang::ento::CallEvent::getASTArgumentIndex ( unsigned  CallArgumentIndex) const
inlinevirtual

Some call event sub-classes conveniently adjust mismatching AST indices to match parameter indices.

This function converts an argument index as understood by CallEvent to the argument index as understood by the AST.

Reimplemented in clang::ento::CXXMemberOperatorCall.

Definition at line 440 of file CallEvent.h.

◆ getCalleeAnalysisDeclContext()

AnalysisDeclContext * CallEvent::getCalleeAnalysisDeclContext ( ) const

Returns AnalysisDeclContext for the callee stack frame.

Currently may fail; returns null on failure.

Definition at line 152 of file CallEvent.cpp.

References clang::LocationContext::getAnalysisDeclContext(), clang::AnalysisDeclContextManager::getContext(), getDecl(), and clang::AnalysisDeclContext::getManager().

Referenced by getCalleeStackFrame().

◆ getCalleeIdentifier()

const IdentifierInfo * clang::ento::CallEvent::getCalleeIdentifier ( ) const
inline

Returns the name of the callee, if its name is a simple identifier.

Note that this will fail for Objective-C methods, blocks, and C++ overloaded operators. The former is named by a Selector rather than a simple identifier, and the latter two do not have names.

Definition at line 350 of file CallEvent.h.

References getDecl().

Referenced by clang::ento::mpi::MPIChecker::checkDoubleNonblocking(), and clang::ento::mpi::MPIChecker::checkUnmatchedWaits().

◆ getCalleeStackFrame()

const StackFrameContext * CallEvent::getCalleeStackFrame ( unsigned  BlockCount) const

Returns the callee stack frame.

That stack frame will only be entered during analysis if the call is inlined, but it may still be useful in intermediate calculations even if the call isn't inlined. May fail; returns null on failure.

Definition at line 164 of file CallEvent.cpp.

References clang::LocationContext::getAnalysisDeclContext(), clang::CFGStmtMap::getBlock(), getCalleeAnalysisDeclContext(), clang::AnalysisDeclContext::getCFGStmtMap(), clang::AnalysisDeclContext::getManager(), getOriginExpr(), clang::AnalysisDeclContextManager::getStackFrame(), and clang::CFGBlock::size().

Referenced by getConstructionContext(), and getParameterLocation().

◆ getCaller()

const CallEventRef CallEvent::getCaller ( ) const

◆ getCFGElementRef()

const CFGBlock::ConstCFGElementRef & clang::ento::CallEvent::getCFGElementRef ( ) const
inline

Definition at line 239 of file CallEvent.h.

◆ getConstructionContext()

const ConstructionContext * CallEvent::getConstructionContext ( ) const

Returns the construction context of the call, if it is a C++ constructor call or a call of a function returning a C++ class instance.

Otherwise return nullptr.

Definition at line 503 of file CallEvent.cpp.

References clang::CFGElement::getAs(), getCalleeStackFrame(), and clang::StackFrameContext::getCallSiteCFGElement().

Referenced by getReturnValueUnderConstruction().

◆ getDecl()

virtual const Decl * clang::ento::CallEvent::getDecl ( ) const
inlinevirtual

◆ getDeclaredResultType()

QualType CallEvent::getDeclaredResultType ( const Decl D)
static

Returns the result type of a function or method declaration.

This will return a null QualType if the result type cannot be determined.

Definition at line 351 of file CallEvent.cpp.

References clang::Type::getAs(), and clang::Type::isDependentType().

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

◆ getExtraInvalidatedValues()

virtual void clang::ento::CallEvent::getExtraInvalidatedValues ( ValueList Values,
RegionAndSymbolInvalidationTraits ETraits 
) const
inlineprotectedvirtual

Used to specify non-argument regions that will be invalidated as a result of this call.

Reimplemented in clang::ento::BlockCall, clang::ento::CXXInstanceCall, clang::ento::AnyCXXConstructorCall, and clang::ento::ObjCMethodCall.

Definition at line 210 of file CallEvent.h.

Referenced by invalidateRegions().

◆ getInitialStackFrameContents()

virtual void clang::ento::CallEvent::getInitialStackFrameContents ( const StackFrameContext CalleeCtx,
BindingsTy Bindings 
) const
pure virtual

Populates the given SmallVector with the bindings in the callee's stack frame at the start of this call.

Implemented in clang::ento::AnyFunctionCall, clang::ento::BlockCall, clang::ento::CXXInstanceCall, clang::ento::AnyCXXConstructorCall, and clang::ento::ObjCMethodCall.

◆ getKind()

virtual Kind clang::ento::CallEvent::getKind ( ) const
pure virtual

◆ getKindAsString()

virtual StringRef clang::ento::CallEvent::getKindAsString ( ) const
pure virtual

◆ getLocationContext()

const LocationContext * clang::ento::CallEvent::getLocationContext ( ) const
inline

◆ getNumArgs()

virtual unsigned clang::ento::CallEvent::getNumArgs ( ) const
pure virtual

◆ getOriginExpr()

virtual const Expr * clang::ento::CallEvent::getOriginExpr ( ) const
inlinevirtual

◆ getParameterLocation()

const ParamVarRegion * CallEvent::getParameterLocation ( unsigned  Index,
unsigned  BlockCount 
) const

Returns memory location for a parameter variable within the callee stack frame.

The behavior is undefined if the block count is different from the one that is there when call happens. May fail; returns null on failure.

Definition at line 194 of file CallEvent.cpp.

References getCalleeStackFrame(), and getOriginExpr().

Referenced by invalidateRegions().

◆ getProgramPoint()

ProgramPoint CallEvent::getProgramPoint ( bool  IsPreVisit = false,
const ProgramPointTag Tag = nullptr 
) const

Returns an appropriate ProgramPoint for this call.

Definition at line 288 of file CallEvent.cpp.

References clang::SourceRange::getBegin(), getDecl(), getLocationContext(), getOriginExpr(), and getSourceRange().

◆ getResultType()

QualType CallEvent::getResultType ( ) const

◆ getReturnValue()

SVal CallEvent::getReturnValue ( ) const

Returns the return value of the call.

This should only be called if the CallEvent was created using a state in which the return value has already been bound to the origin expression.

Definition at line 322 of file CallEvent.cpp.

References getOriginExpr(), and getSVal().

Referenced by clang::ento::retaincountchecker::RetainCountChecker::checkSummary(), clang::ento::retaincountchecker::RetainCountChecker::processSummaryOfInlined(), and updateOutParameters().

◆ getReturnValueUnderConstruction()

std::optional< SVal > CallEvent::getReturnValueUnderConstruction ( ) const

If the call returns a C++ record type then the region of its return value can be retrieved from its construction context.

Definition at line 540 of file CallEvent.cpp.

References clang::ento::ExprEngine::computeObjectUnderConstruction(), clang::ento::ExprEngine::getBuilderContext(), getConstructionContext(), getLocationContext(), getOriginExpr(), and getState().

◆ getRuntimeDefinition()

virtual RuntimeDefinition clang::ento::CallEvent::getRuntimeDefinition ( ) const
pure virtual

◆ getSourceRange()

virtual SourceRange clang::ento::CallEvent::getSourceRange ( ) const
inlinevirtual

Returns a source range for the entire call, suitable for outputting in diagnostics.

Reimplemented in clang::ento::CXXDestructorCall, and clang::ento::ObjCMethodCall.

Definition at line 283 of file CallEvent.h.

References getOriginExpr(), and clang::Stmt::getSourceRange().

Referenced by getProgramPoint(), clang::ento::mpi::MPIBugReporter::reportDoubleNonblocking(), and clang::ento::mpi::MPIBugReporter::reportUnmatchedWait().

◆ getState()

const ProgramStateRef & clang::ento::CallEvent::getState ( ) const
inline

◆ getSVal()

SVal clang::ento::CallEvent::getSVal ( const Stmt S) const
inlineprotected

◆ hasNonNullArgumentsWithType()

bool CallEvent::hasNonNullArgumentsWithType ( bool(*)(QualType Condition) const

Returns true if the type of any of the non-null arguments satisfies the condition.

Definition at line 113 of file CallEvent.cpp.

References clang::Condition, getArgSVal(), getDecl(), getNumArgs(), param_type_begin(), and param_type_end().

Referenced by hasNonZeroCallbackArg(), and hasVoidPointerToNonConstArg().

◆ hasNonZeroCallbackArg()

bool CallEvent::hasNonZeroCallbackArg ( ) const

Returns true if any of the arguments appear to represent callbacks.

Definition at line 136 of file CallEvent.cpp.

References hasNonNullArgumentsWithType(), and isCallback().

Referenced by argumentsMayEscape().

◆ hasVoidPointerToNonConstArg()

bool CallEvent::hasVoidPointerToNonConstArg ( ) const

Returns true if any of the arguments is void*.

Definition at line 140 of file CallEvent.cpp.

References hasNonNullArgumentsWithType(), and isVoidPointerToNonConst().

Referenced by clang::ento::AnyFunctionCall::argumentsMayEscape().

◆ invalidateRegions()

ProgramStateRef CallEvent::invalidateRegions ( unsigned  BlockCount,
ProgramStateRef  Orig = nullptr 
) const

◆ isArgumentConstructedDirectly()

bool clang::ento::CallEvent::isArgumentConstructedDirectly ( unsigned  Index) const
inline

Returns true if on the current path, the argument was constructed by calling a C++ constructor over it.

This is an internal detail of the analysis which doesn't necessarily represent the program semantics: if we are supposed to construct an argument directly, we may still not do that because we don't know how (i.e., construction context is unavailable in the CFG or not supported by the analyzer).

Definition at line 421 of file CallEvent.h.

References getLocationContext(), clang::ento::ExprEngine::getObjectUnderConstruction(), getOriginExpr(), and getState().

Referenced by invalidateRegions().

◆ isCalledFromSystemHeader()

bool CallEvent::isCalledFromSystemHeader ( ) const

Definition at line 533 of file CallEvent.cpp.

References getCaller().

◆ isCallStmt()

bool CallEvent::isCallStmt ( const Stmt S)
static

Returns true if this is a statement is a function or method call of some kind.

Definition at line 347 of file CallEvent.cpp.

Referenced by shouldRemoveDeadBindings().

◆ isForeign()

bool clang::ento::CallEvent::isForeign ( ) const
inline

Definition at line 227 of file CallEvent.h.

◆ isGlobalCFunction()

bool CallEvent::isGlobalCFunction ( StringRef  SpecificName = StringRef()) const

Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.

You can use this call to determine that a particular function really is a library function and not, say, a C++ member function with the same name.

If a name is provided, the function must additionally match the given name.

Note that this deliberately excludes C++ library functions in the std namespace, but will include C library functions accessed through the std namespace. This also does not check if the function is declared as 'extern "C"', or if it uses C++ name mangling.

Definition at line 144 of file CallEvent.cpp.

References getDecl(), and clang::ento::CheckerContext::isCLibraryFunction().

◆ isInSystemHeader()

bool clang::ento::CallEvent::isInSystemHeader ( ) const
inline

Returns true if the callee is known to be from a system header.

Definition at line 261 of file CallEvent.h.

References getDecl(), clang::Decl::getLocation(), getState(), clang::ento::DefinedSVal::isValid(), and SM.

Referenced by clang::ento::ObjCMethodCall::argumentsMayEscape().

◆ isVariadic()

bool CallEvent::isVariadic ( const Decl D)
static

Returns true if the given decl is known to be variadic.

D must not be null.

Definition at line 380 of file CallEvent.cpp.

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

◆ operator=()

CallEvent & clang::ento::CallEvent::operator= ( const CallEvent )
delete

◆ param_type_begin()

param_type_iterator clang::ento::CallEvent::param_type_begin ( ) const
inline

Returns an iterator over the types of the call's formal parameters.

This uses the callee decl found by default name lookup rather than the definition because it represents a public interface, and probably has more annotations.

Definition at line 483 of file CallEvent.h.

References parameters().

Referenced by hasNonNullArgumentsWithType().

◆ param_type_end()

param_type_iterator clang::ento::CallEvent::param_type_end ( ) const
inline
See also
param_type_begin()

Definition at line 487 of file CallEvent.h.

References parameters().

Referenced by hasNonNullArgumentsWithType().

◆ parameters()

virtual ArrayRef< ParmVarDecl * > clang::ento::CallEvent::parameters ( ) const
pure virtual

Return call's formal parameters.

Remember that the number of formal parameters may not match the number of arguments for all calls. However, the first parameter will always correspond with the argument value returned by getArgSVal(0).

Implemented in clang::ento::AnyFunctionCall, clang::ento::BlockCall, and clang::ento::ObjCMethodCall.

Referenced by param_type_begin(), param_type_end(), and shouldEscapeOSArgumentOnCall().

◆ setForeign()

void clang::ento::CallEvent::setForeign ( bool  B) const
inline

Definition at line 231 of file CallEvent.h.

Friends And Related Function Documentation

◆ CallEventManager

friend class CallEventManager
friend

Definition at line 181 of file CallEvent.h.

◆ llvm::IntrusiveRefCntPtrInfo

template<typename T >
friend struct llvm::IntrusiveRefCntPtrInfo
friend

Definition at line 173 of file CallEvent.h.

Member Data Documentation

◆ Data

const void* clang::ento::CallEvent::Data
protected

◆ Location

SourceLocation clang::ento::CallEvent::Location
protected

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