Skip to content

SageBuilder::buildFunctionType

All overloads of 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("default")]]
SgFunctionType*
buildFunctionType(
    SgType* return_type,
    SgFunctionParameterTypeList* typeList,
    bool hasPrototype = true);

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