llvm::Error::operator=

Move-assign an error value from Other.

Synopsis

Declared in <llvm/Support/Error.h>

Error&
operator=(Error&& Other);

Description

The current error must represent success; you cannot overwrite an unhandled error. The current error is then considered unchecked. The source error becomes a checked success value, regardless of its original state.

Return Value

A reference to this Error.

Parameters

NameDescription
OtherError to move from.