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