llvm::DiagnosticSeverity

Defines the different supported severity of a diagnostic.

Synopsis

Declared in <llvm/IR/DiagnosticInfo.h>

enum DiagnosticSeverity : char;

Members

NameDescription
DS_Error An error that should typically stop compilation.
DS_Warning A warning that does not prevent continuing.
DS_Remark An optimization or analysis remark.
DS_Note A note that attaches additional information to a prior diagnostic.