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(
    function_declaration_ownership const& ownership,
    SgName const& name,
    SgType* return_type,
    SgFunctionParameterList* param_list,
    SgProcedureHeaderStatement::subprogram_kind_enum,
    SgProcedureHeaderStatement::fortran_procedure_source_form_enum source_form,
    SgScopeStatement* scope,
    FortranBlockDataBuilderIdentity const* block_data_identity = nullptr);

Parameters

Name

Description

ownership

Exact, typed structural ownership established by function‐declaration builders. Invalid kind/owner combinations cannot be constructed.

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.

source_form

Exact Fortran source surface represented by this procedure.

scope

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

block_data_identity

Build a Fortran subroutine or procedure

Created with MrDocs