Skip to content

SageBuilder::buildFunctionCallExp

All overloads of SageBuilder::buildFunctionCallExp

Build a function call expression,it will automatically search for function symbols internally to build a right function reference etc. It tolerates the lack of the function symbol to support generating calls to library functions whose headers have not yet been inserted.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgFunctionCallExp*
buildFunctionCallExp(
    SgName const& name,
    SgType* return_type,
    SgExprListExp* parameters = NULL,
    SgScopeStatement* scope = NULL);

Return Value

This class represents the concept of a C++ function call (which is an expression).

Parameters

Name Description
name String-backed name value used by AST nodes.
return_type This class represents the base class for all types.
parameters This class represents the concept of a C and C++ expression list.
scope This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs