enum CXDiagnosticSeverity
Description
Describes the severity of a particular diagnostic.
Declared at: clang/include/clang-c/Index.h:739
Enumerators
Name | Value | Comment |
---|---|---|
CXDiagnostic_Ignored | 0 | A diagnostic that has been suppressed, e.g., by a command-line option. |
CXDiagnostic_Note | 1 | This diagnostic is a note that should be attached to the previous (non-note) diagnostic. |
CXDiagnostic_Warning | 2 | This diagnostic indicates suspicious code that may not be wrong. |
CXDiagnostic_Error | 3 | This diagnostic indicates that the code is ill-formed. |
CXDiagnostic_Fatal | 4 | This diagnostic indicates that the code is ill-formed such that future parser recovery is unlikely to produce useful results. |