Lines Matching full:flavor
36 diag::Flavor Flavor, StringRef Prefix,
38 StringRef Suggestion = DiagnosticIDs::getNearestOption(Flavor, Opt);
40 << (Flavor == diag::Flavor::WarningOrError ? 0 : 1) << (Prefix.str() += Opt)
89 const auto Flavor = diag::Flavor::WarningOrError;
126 Diags.setSeverityForAll(Flavor, diag::Severity::Ignored);
155 } else if (DiagIDs->getDiagnosticsInGroup(Flavor, Specifier, _Diags)) {
156 EmitUnknownDiagWarning(Diags, Flavor, "-Werror=", Specifier);
183 } else if (DiagIDs->getDiagnosticsInGroup(Flavor, Specifier, _Diags)) {
184 EmitUnknownDiagWarning(Diags, Flavor, "-Wfatal-errors=", Specifier);
190 if (DiagIDs->getDiagnosticsInGroup(Flavor, Opt, _Diags))
191 EmitUnknownDiagWarning(Diags, Flavor, isPositive ? "-W" : "-Wno-",
194 Diags.setSeverityForGroup(Flavor, Opt, Mapping);
200 const auto Flavor = diag::Flavor::Remark;
215 Diags.setSeverityForAll(Flavor, Severity);
220 if (DiagIDs->getDiagnosticsInGroup(Flavor, Opt, _Diags))
221 EmitUnknownDiagWarning(Diags, Flavor, IsPositive ? "-R" : "-Rno-",
224 Diags.setSeverityForGroup(Flavor, Opt,