Skip to content

SageBuilder::buildFunctionCallExp

buildFunctionCallExp overloads

Synopses

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgFunctionCallExp*
buildFunctionCallExp(
    SgExpression* f,
    SgExprListExp* parameters = NULL);

Build a function call expression

[[visibility]]
SgFunctionCallExp*
buildFunctionCallExp(
    SgFunctionSymbol* sym,
    SgExprListExp* parameters = NULL);

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.

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

Created with MrDocs