Struct ExtendedCallInfo#

Struct Documentation#

struct ExtendedCallInfo#

Result structure of extended C++ function call matching matchExtendedNormalizedCall.

extended matches function, constructor (on stack and w/new), and destructor calls.

Public Functions

inline ExtendedCallInfo()#

no-match constructor

inline ExtendedCallInfo(SgLocatedNode &callnode)#

node callnode contanins some function call

SgLocatedNode *representativeNode() const#

the call or a parent node (e.g., new expression)

SgFunctionCallExp *callExpression() const#

returns the call expression if this represents a “normal” call or nullptr otherwise.

SgConstructorInitializer *ctorInitializer() const#

returns the constructor initialization node or nullptr.

SgExpression *functionPointer() const#

returns the function pointer expression representing the target (if this is a function pointer call)

inline operator bool() const#

true iff this structure represents a match