Constructors

Synopses

Declared in <llvm/MC/MCParser/MCTargetAsmParser.h>

Construct a no‐match status.

constexpr
ParseStatus();

Construct from an explicit status value.

constexpr
ParseStatus(StatusTy Status);

Construct success or failure from a boolean error flag.

constexpr
ParseStatus(bool Error);

Deleted: reject accidental construction from unrelated types.

template<typename T>
constexpr
ParseStatus(T Value) = delete;

Parameters

Name

Description

Status

Status to store.

Error

True for failure, false for success.

Value

Unused; construction from unrelated types is deleted.

Created with MrDocs