Lines Matching refs:DiagOpts

668                                DiagnosticOptions *DiagOpts)  in TextDiagnostic()  argument
669 : DiagnosticRenderer(LangOpts, DiagOpts), OS(OS) {} in TextDiagnostic()
683 if (DiagOpts->ShowColors) in emitDiagnosticMessage()
686 if (DiagOpts->ShowLevel) in emitDiagnosticMessage()
687 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors); in emitDiagnosticMessage()
691 DiagOpts->MessageLength, DiagOpts->ShowColors); in emitDiagnosticMessage()
756 if (DiagOpts->AbsolutePath) { in emitFilename()
810 if (!DiagOpts->ShowLocation) in emitDiagnosticLoc()
813 if (DiagOpts->ShowColors) in emitDiagnosticLoc()
817 switch (DiagOpts->getFormat()) { in emitDiagnosticLoc()
820 if (DiagOpts->ShowLine) in emitDiagnosticLoc()
827 if (DiagOpts->ShowColumn) in emitDiagnosticLoc()
830 if (DiagOpts->getFormat() == DiagnosticOptions::MSVC) { in emitDiagnosticLoc()
840 switch (DiagOpts->getFormat()) { in emitDiagnosticLoc()
855 if (DiagOpts->ShowSourceRanges && !Ranges.empty()) { in emitDiagnosticLoc()
900 if (DiagOpts->ShowLocation && PLoc.isValid()) in emitIncludeLocation()
909 if (DiagOpts->ShowLocation && PLoc.isValid()) in emitImportLocation()
919 if (DiagOpts->ShowLocation && PLoc.isValid()) in emitBuildingModuleLocation()
1064 const DiagnosticOptions *DiagOpts) { in buildFixItInsertionLine() argument
1066 if (Hints.empty() || !DiagOpts->ShowFixits) in buildFixItInsertionLine()
1118 expandTabs(FixItInsertionLine, DiagOpts->TabStop); in buildFixItInsertionLine()
1142 if (!DiagOpts->ShowCarets) in emitSnippetAndCaret()
1168 const unsigned MaxLines = DiagOpts->SnippetLineLimit; in emitSnippetAndCaret()
1207 const SourceColumnMap sourceColMap(SourceLine, DiagOpts->TabStop); in emitSnippetAndCaret()
1228 FID, LineNo, sourceColMap, Hints, SM, DiagOpts.get()); in emitSnippetAndCaret()
1232 unsigned Columns = DiagOpts->MessageLength; in emitSnippetAndCaret()
1241 if (DiagOpts->ShowSourceRanges) { in emitSnippetAndCaret()
1254 if (DiagOpts->ShowColors) in emitSnippetAndCaret()
1257 if (DiagOpts->ShowColors) in emitSnippetAndCaret()
1262 if (DiagOpts->ShowColors) in emitSnippetAndCaret()
1265 if (DiagOpts->ShowSourceRanges) in emitSnippetAndCaret()
1268 if (DiagOpts->ShowColors) in emitSnippetAndCaret()
1288 = printableTextForNextCharacter(line, &i, DiagOpts->TabStop); in emitSnippet()
1291 if (DiagOpts->ShowColors && was_printable == print_reversed) { in emitSnippet()
1296 if (DiagOpts->ShowColors) in emitSnippet()
1304 if (print_reversed && DiagOpts->ShowColors) in emitSnippet()
1307 if (print_reversed && DiagOpts->ShowColors) in emitSnippet()
1315 if (!DiagOpts->ShowParseableFixits) in emitParseableFixits()