Lines Matching refs:diag
36 diag::Flavor Flavor, StringRef Prefix, in EmitUnknownDiagWarning()
39 Diags.Report(diag::warn_unknown_diag_option) in EmitUnknownDiagWarning()
40 << (Flavor == diag::Flavor::WarningOrError ? 0 : 1) << (Prefix.str() += Opt) in EmitUnknownDiagWarning()
67 Diags.setExtensionHandlingBehavior(diag::Severity::Error); in ProcessWarningOptions()
69 Diags.setExtensionHandlingBehavior(diag::Severity::Warning); in ProcessWarningOptions()
71 Diags.setExtensionHandlingBehavior(diag::Severity::Ignored); in ProcessWarningOptions()
73 SmallVector<diag::kind, 10> _Diags; in ProcessWarningOptions()
89 const auto Flavor = diag::Flavor::WarningOrError; in ProcessWarningOptions()
107 diag::Severity Mapping = in ProcessWarningOptions()
108 isPositive ? diag::Severity::Warning : diag::Severity::Ignored; in ProcessWarningOptions()
126 Diags.setSeverityForAll(Flavor, diag::Severity::Ignored); in ProcessWarningOptions()
139 Diags.Report(diag::warn_unknown_warning_specifier) in ProcessWarningOptions()
167 Diags.Report(diag::warn_unknown_warning_specifier) in ProcessWarningOptions()
200 const auto Flavor = diag::Flavor::Remark; in ProcessWarningOptions()
207 auto Severity = IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
208 : diag::Severity::Ignored; in ProcessWarningOptions()
225 IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
226 : diag::Severity::Ignored); in ProcessWarningOptions()