Skip to content

SageBuilder::buildReturnStmt

Build a return statement

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgReturnStmt*
buildReturnStmt(
    SgExpression* expression = nullptr,
    SgInitializedName* nrvo_candidate = nullptr);

Return Value

A return statement with an optional expression.

Parameters

Name Description
expression This class represents the notion of an expression. Expressions
nrvo_candidate This class represents the notion of a declared variable.

Created with MrDocs