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
Name | Value | Comment |
---|---|---|
Ignored | 1 | Do not present this diagnostic, ignore it. |
Remark | 2 | Present this diagnostic as a remark. |
Warning | 3 | Present this diagnostic as a warning. |
Error | 4 | Present this diagnostic as an error. |
Fatal | 5 | Present this diagnostic as a fatal error. |