Lines Matching defs:DiagOpts
27 : OS(os), DiagOpts(diags),
39 TextDiag.reset(new TextDiagnostic(OS, LO, &*DiagOpts, PP));
54 const DiagnosticOptions &DiagOpts) {
56 if (DiagOpts.ShowOptionNames) {
95 if (DiagOpts.ShowCategories) {
101 if (DiagOpts.ShowCategories == 1)
104 assert(DiagOpts.ShowCategories == 2 && "Invalid ShowCategories value");
124 printDiagnosticOptions(DiagMessageStream, Level, Info, *DiagOpts);
140 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors);
144 DiagOpts->MessageLength, DiagOpts->ShowColors);
150 assert(DiagOpts && "Unexpected diagnostic without options set");