Skip to content

SageBuilder::buildDefiningFunctionDeclaration

Build a function declaration with a function body

Synopses

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgFunctionDeclaration*
buildDefiningFunctionDeclaration(
    SgName const& name,
    SgType* return_type,
    SgFunctionParameterList* parameter_list,
    SgScopeStatement* scope = NULL,
    bool forceFreeFunctionScope = false);

Build a function declaration with a function body

[[visibility]]
SgFunctionDeclaration*
buildDefiningFunctionDeclaration(
    SgName const& name,
    SgType* return_type,
    SgFunctionParameterList* parlist,
    SgScopeStatement* scope,
    bool buildTemplateInstantiation,
    SgFunctionDeclaration* first_nondefinng_declaration,
    SgTemplateArgumentPtrList* templateArgumentsList,
    bool forceFreeFunctionScope);

Created with MrDocs