Skip to content

SageBuilder::buildNondefiningFunctionDeclaration

buildNondefiningFunctionDeclaration overloads

Synopses

Declared in <SageIII/sageInterface/sageBuilder.h>

Build a prototype for an existing function declaration (defining or nondefining is fine)

Build a prototype for a function, handle function type, symbol etc transparently

[[visibility]]
SgFunctionDeclaration*
buildNondefiningFunctionDeclaration(
    SgName const& name,
    SgType* return_type,
    SgFunctionParameterList* parlist,
    SgScopeStatement* scope = NULL,
    bool buildTemplateInstantiation = false,
    SgTemplateArgumentPtrList* templateArgumentsList = NULL,
    SgStorageModifier::storage_modifier_enum sm = SgStorageModifier::e_default,
    bool forceFreeFunctionScope = false);

Created with MrDocs