Skip to content

SageBuilder::buildPlusPlusOp

All overloads of SageBuilder::buildPlusPlusOp

Build ++x or x++ , specify prefix or postfix using either SgUnaryOp::prefix or SgUnaryOp::postfix

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgPlusPlusOp*
buildPlusPlusOp(
    SgExpression* operand_i,
    SgType* result_type,
    SgUnaryOp::Sgop_mode a_mode);

Parameters

Name Description
operand_i This class represents the notion of an expression. Expressions
result_type This class represents the base class for all types.
a_mode Enum value defines operators as prefix or postfix, as appropriate, e.g. operator++().

Created with MrDocs