enum CXDiagnosticSeverity

Description

Describes the severity of a particular diagnostic.

Declared at: clang/include/clang-c/Index.h:739

Enumerators

NameValueComment
CXDiagnostic_Ignored0A diagnostic that has been suppressed, e.g., by a command-line option.
CXDiagnostic_Note1This diagnostic is a note that should be attached to the previous (non-note) diagnostic.
CXDiagnostic_Warning2This diagnostic indicates suspicious code that may not be wrong.
CXDiagnostic_Error3This diagnostic indicates that the code is ill-formed.
CXDiagnostic_Fatal4This diagnostic indicates that the code is ill-formed such that future parser recovery is unlikely to produce useful results.