Lines Matching refs:DiagOpts
669 DiagnosticOptions *DiagOpts) in TextDiagnostic() argument
670 : DiagnosticRenderer(LangOpts, DiagOpts), OS(OS) {} in TextDiagnostic()
688 if (DiagOpts->ShowColors) in emitDiagnosticMessage()
691 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, in emitDiagnosticMessage()
692 DiagOpts->CLFallbackMode); in emitDiagnosticMessage()
696 DiagOpts->MessageLength, DiagOpts->ShowColors); in emitDiagnosticMessage()
793 if (!DiagOpts->ShowLocation) in emitDiagnosticLoc()
796 if (DiagOpts->ShowColors) in emitDiagnosticLoc()
800 switch (DiagOpts->getFormat()) { in emitDiagnosticLoc()
806 if (DiagOpts->ShowColumn) in emitDiagnosticLoc()
809 if (DiagOpts->getFormat() == DiagnosticOptions::MSVC) { in emitDiagnosticLoc()
819 switch (DiagOpts->getFormat()) { in emitDiagnosticLoc()
833 if (DiagOpts->ShowSourceRanges && !Ranges.empty()) { in emitDiagnosticLoc()
886 if (DiagOpts->ShowLocation && PLoc.isValid()) in emitIncludeLocation()
896 if (DiagOpts->ShowLocation && PLoc.isValid()) in emitImportLocation()
907 if (DiagOpts->ShowLocation && PLoc.isValid()) in emitBuildingModuleLocation()
998 const DiagnosticOptions *DiagOpts) { in buildFixItInsertionLine() argument
1000 if (Hints.empty() || !DiagOpts->ShowFixits) in buildFixItInsertionLine()
1054 expandTabs(FixItInsertionLine, DiagOpts->TabStop); in buildFixItInsertionLine()
1080 if (!DiagOpts->ShowCarets) in emitSnippetAndCaret()
1131 const SourceColumnMap sourceColMap(SourceLine, DiagOpts->TabStop); in emitSnippetAndCaret()
1152 DiagOpts.get()); in emitSnippetAndCaret()
1156 unsigned Columns = DiagOpts->MessageLength; in emitSnippetAndCaret()
1165 if (DiagOpts->ShowSourceRanges) { in emitSnippetAndCaret()
1177 if (DiagOpts->ShowColors) in emitSnippetAndCaret()
1180 if (DiagOpts->ShowColors) in emitSnippetAndCaret()
1184 if (DiagOpts->ShowColors) in emitSnippetAndCaret()
1187 if (DiagOpts->ShowSourceRanges) in emitSnippetAndCaret()
1190 if (DiagOpts->ShowColors) in emitSnippetAndCaret()
1209 = printableTextForNextCharacter(line, &i, DiagOpts->TabStop); in emitSnippet()
1212 if (DiagOpts->ShowColors && was_printable == print_reversed) { in emitSnippet()
1217 if (DiagOpts->ShowColors) in emitSnippet()
1225 if (print_reversed && DiagOpts->ShowColors) in emitSnippet()
1228 if (print_reversed && DiagOpts->ShowColors) in emitSnippet()
1236 if (!DiagOpts->ShowParseableFixits) in emitParseableFixits()