Skip to content

SageBuilder::buildFunctionType

Build a canonical function type from a return type and exact parameter types. A final SgTypeEllipse atomically publishes variadic identity; ellipses in any other position are malformed and abort.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgFunctionType*
buildFunctionType(
    SgType* return_type,
    SgFunctionParameterTypeList* typeList);

Return Value

This class represents a type for all functions.

Parameters

Name

Description

return_type

This class represents the base class for all types.

Created with MrDocs