enum class Severity

Description

Enum values that allow the client to map NOTEs, WARNINGs, and EXTENSIONs to either Ignore (nothing), Remark (emit a remark), Warning (emit a warning) or Error (emit as an error). It allows clients to map ERRORs to Error or Fatal (stop emitting diagnostics after this one).

Declared at: clang/include/clang/Basic/DiagnosticIDs.h:82

Enumerators

NameValueComment
Ignored1Do not present this diagnostic, ignore it.
Remark2Present this diagnostic as a remark.
Warning3Present this diagnostic as a warning.
Error4Present this diagnostic as an error.
Fatal5Present this diagnostic as a fatal error.