Lines Matching refs:DiagOpts
669 DiagnosticOptions *DiagOpts)
670 : DiagnosticRenderer(LangOpts, DiagOpts), OS(OS) {}
688 if (DiagOpts->ShowColors)
691 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors,
692 DiagOpts->CLFallbackMode);
696 DiagOpts->MessageLength, DiagOpts->ShowColors);
793 if (!DiagOpts->ShowLocation)
796 if (DiagOpts->ShowColors)
800 switch (DiagOpts->getFormat()) {
806 if (DiagOpts->ShowColumn)
809 if (DiagOpts->getFormat() == DiagnosticOptions::MSVC) {
819 switch (DiagOpts->getFormat()) {
825 if (DiagOpts->ShowSourceRanges && !Ranges.empty()) {
878 if (DiagOpts->ShowLocation && PLoc.getFilename())
888 if (DiagOpts->ShowLocation && PLoc.getFilename())
899 if (DiagOpts->ShowLocation && PLoc.getFilename())
990 const DiagnosticOptions *DiagOpts) {
992 if (Hints.empty() || !DiagOpts->ShowFixits)
1046 expandTabs(FixItInsertionLine, DiagOpts->TabStop);
1072 if (!DiagOpts->ShowCarets)
1115 const SourceColumnMap sourceColMap(SourceLine, DiagOpts->TabStop);
1136 DiagOpts.get());
1140 unsigned Columns = DiagOpts->MessageLength;
1149 if (DiagOpts->ShowSourceRanges) {
1161 if (DiagOpts->ShowColors)
1164 if (DiagOpts->ShowColors)
1168 if (DiagOpts->ShowColors)
1171 if (DiagOpts->ShowSourceRanges)
1174 if (DiagOpts->ShowColors)
1193 = printableTextForNextCharacter(line, &i, DiagOpts->TabStop);
1196 if (DiagOpts->ShowColors && was_printable == print_reversed) {
1201 if (DiagOpts->ShowColors)
1209 if (print_reversed && DiagOpts->ShowColors)
1212 if (print_reversed && DiagOpts->ShowColors)
1220 if (!DiagOpts->ShowParseableFixits)