llvm::MCUnaryExpr::createPlus

Create a unary plus of Expr (a no-op in assembly expressions).

Synopsis

Declared in <llvm/MC/MCExpr.h>

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

Return Value

Newly created unary-plus expression.

Parameters

NameDescription
Expr- Operand expression.
Ctx- Assembler context used to allocate the expression.
Loc- Source location of the expression.