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)

[[visibility("default")]]
SgFunctionDeclaration*
buildNondefiningFunctionDeclaration(
    function_declaration_ownership const& ownership,
    SgFunctionDeclaration const* funcdecl,
    SgScopeStatement* scope);

» more...

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

[[visibility("default")]]
SgFunctionDeclaration*
buildNondefiningFunctionDeclaration(
    function_declaration_ownership const& ownership,
    SgName const& name,
    SgType* return_type,
    SgFunctionParameterList* parlist,
    SgScopeStatement* scope,
    bool buildTemplateInstantiation = false,
    SgTemplateArgumentPtrList* templateArgumentsList = NULL,
    SgStorageModifier::storage_modifier_enum sm = SgStorageModifier::e_default,
    bool forceFreeFunctionScope = false,
    SgName const* templateInstantiationName = NULL,
    SgDeclarationStatement* expectedTemplateDeclaration = NULL,
    SgTemplateArgumentPtrList* semanticTemplateArguments = nullptr);

» more...


Created with MrDocs