Create a unary minus of Expr.

Synopsis

Declared in <llvm/MC/MCExpr.h>

static
MCUnaryExpr const*
createMinus(
    MCExpr const* Expr,
    MCContext& Ctx,
    SMLoc Loc = SMLoc());

Return Value

Newly created unary‐minus expression.

Parameters

Name

Description

Expr

‐ Operand expression.

Ctx

‐ Assembler context used to allocate the expression.

Loc

‐ Source location of the expression.

Created with MrDocs