Skip to content

SageBuilder::buildFunctionType

buildFunctionType overloads

Synopses

Declared in <SageIII/sageInterface/sageBuilder.h>

Build function type from return type and parameter list

[[visibility]]
SgFunctionType*
buildFunctionType(
    SgType* return_type,
    SgFunctionParameterList* argList);

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.

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

Created with MrDocs