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]]
SgFunctionDeclaration*
buildNondefiningFunctionDeclaration(
function_declaration_ownership const& ownership,
SgFunctionDeclaration const* funcdecl,
SgScopeStatement* scope);
Build a prototype for a function, handle function type, symbol etc transparently
[[visibility]]
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);
Created with MrDocs