Skip to content

SageBuilder::buildNondefiningProcedureHeaderStatement

Build a nondefining SgProcedureHeaderStatement, handle function type, symbol etc transparently

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgProcedureHeaderStatement*
buildNondefiningProcedureHeaderStatement(
    SgName const& name,
    SgType* return_type,
    SgFunctionParameterList* param_list,
    SgProcedureHeaderStatement::subprogram_kind_enum,
    SgScopeStatement* scope = NULL);

Parameters

Name

Description

name

This class represents strings within the IR nodes.

return_type

This class represents the base class for all types.

param_list

This class represents the concept of a declaration list.

scope

This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs