Skip to content

SageBuilder::buildFunctionType

buildFunctionType overloads

Synopses

Declared in <SageIII/sageInterface/sageBuilder.h>

Build function type from return type and parameter list

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

» more...

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

» more...


Created with MrDocs