enum class Flavor

Description

Flavors of diagnostics we can emit. Used to filter for a particular kind of diagnostic (for instance, for -W/-R flags).

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

Enumerators

NameValueComment
WarningOrError0A diagnostic that indicates a problem or potential problem. Can be made fatal by -Werror.
Remark1A diagnostic that indicates normal progress through compilation.