Skip to content

SageBuilder::buildMinusOp

Build ‐‐ expression, Sgop_mode is a value of either SgUnaryOp::prefix or SgUnaryOp::postfix

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgMinusOp*
buildMinusOp(
    SgExpression* operand_i,
    SgUnaryOp::Sgop_mode a_mode);

Return Value

This class represents the numeric negation of a value. Not to

Parameters

Name

Description

operand_i

This class represents the notion of an expression. Expressions

a_mode

Enum value defines operators as prefix or postfix, as appropriate, e.g. operator++().

Created with MrDocs