Lines Matching refs:Opts
35 const DiagnosticOptions &Opts) { in ProcessWarningOptions() argument
37 Diags.setIgnoreAllWarnings(Opts.IgnoreWarnings); in ProcessWarningOptions()
39 static_cast<Diagnostic::OverloadsShown>(Opts.ShowOverloads)); in ProcessWarningOptions()
42 if (Opts.ErrorLimit) in ProcessWarningOptions()
43 Diags.setErrorLimit(Opts.ErrorLimit); in ProcessWarningOptions()
44 if (Opts.TemplateBacktraceLimit) in ProcessWarningOptions()
45 Diags.setTemplateBacktraceLimit(Opts.TemplateBacktraceLimit); in ProcessWarningOptions()
50 if (Opts.PedanticErrors) in ProcessWarningOptions()
52 else if (Opts.Pedantic) in ProcessWarningOptions()
57 for (unsigned i = 0, e = Opts.Warnings.size(); i != e; ++i) { in ProcessWarningOptions()
58 llvm::StringRef Opt = Opts.Warnings[i]; in ProcessWarningOptions()