Lines Matching refs:DiagOpts
30 : OS(os), DiagOpts(diags),
42 TextDiag.reset(new TextDiagnostic(OS, LO, &*DiagOpts));
57 const DiagnosticOptions &DiagOpts) {
59 if (DiagOpts.ShowOptionNames) {
90 if (DiagOpts.ShowCategories) {
96 if (DiagOpts.ShowCategories == 1)
99 assert(DiagOpts.ShowCategories == 2 && "Invalid ShowCategories value");
119 printDiagnosticOptions(DiagMessageStream, Level, Info, *DiagOpts);
135 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors);
138 DiagOpts->MessageLength,
139 DiagOpts->ShowColors);
145 assert(DiagOpts && "Unexpected diagnostic without options set");
161 return new TextDiagnosticPrinter(OS, &*DiagOpts, /*OwnsOutputStream=*/false);