Skip to content

SgNodeHelper::ExtendedCallInfo

Result structure of extended C++ function call matching matchExtendedNormalizedCall

Synopsis

Declared in <src/midend/abstractLayer/SgNodeHelper.h>

Member Functions

Name

Description

ExtendedCallInfo [constructor]

no‐match constructor

callExpression

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

ctorInitializer

returns the constructor initialization node or nullptr.

functionPointer

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

representativeNode

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

operator bool

true iff this structure represents a match

Private Data Members

Name

rep

Non-Member Functions

Name

Description

matchExtendedNormalizedCall

matches C and C++ function calls (also ctor and dtor)

Description

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

Created with MrDocs