Skip to content

SageBuilder::buildNondefiningMemberFunctionDeclaration

All overloads of SageBuilder::buildNondefiningMemberFunctionDeclaration

Build a prototype member function declaration

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgMemberFunctionDeclaration*
buildNondefiningMemberFunctionDeclaration(
    function_declaration_ownership const& ownership,
    SgName const& name,
    SgType* return_type,
    SgFunctionParameterList* parlist,
    SgScopeStatement* scope,
    unsigned int functionConstVolatileFlags,
    bool buildTemplateInstantiation,
    SgTemplateArgumentPtrList* templateArgumentsList,
    SgName const* templateInstantiationName = NULL,
    SgDeclarationStatement* expectedTemplateDeclaration = NULL,
    SgTemplateArgumentPtrList* semanticTemplateArguments = nullptr);

Return Value

This class represents the concept of a member function declaration statement.

Parameters

Name Description
ownership Exact, typed structural ownership established by function-declaration builders. Invalid kind/owner combinations cannot be constructed.
name String-backed name value used by AST nodes.
return_type This class represents the base class for all types.
parlist The ordered parameter declarations of a function.
scope This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).
templateInstantiationName String-backed name value used by AST nodes.
expectedTemplateDeclaration This class represents the concept of a declaration statement.

Created with MrDocs