Lines Matching defs:DiagOpts
657 DiagnosticOptions *DiagOpts,
659 : DiagnosticRenderer(LangOpts, DiagOpts), OS(OS), PP(PP) {}
673 if (DiagOpts->ShowColors)
676 if (DiagOpts->ShowLevel)
677 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors);
681 DiagOpts->MessageLength, DiagOpts->ShowColors);
746 if (DiagOpts->AbsolutePath) {
799 if (!DiagOpts->ShowLocation)
802 if (DiagOpts->ShowColors)
806 switch (DiagOpts->getFormat()) {
809 if (DiagOpts->ShowLine)
816 if (DiagOpts->ShowColumn)
819 if (DiagOpts->getFormat() == DiagnosticOptions::MSVC) {
829 switch (DiagOpts->getFormat()) {
844 if (DiagOpts->ShowSourceRanges && !Ranges.empty()) {
884 if (DiagOpts->ShowLocation && PLoc.isValid()) {
894 if (DiagOpts->ShowLocation && PLoc.isValid())
904 if (DiagOpts->ShowLocation && PLoc.isValid())
1006 const DiagnosticOptions *DiagOpts) {
1008 if (Hints.empty() || !DiagOpts->ShowFixits)
1060 expandTabs(FixItInsertionLine, DiagOpts->TabStop);
1299 if (!DiagOpts->ShowCarets)
1325 const unsigned MaxLines = DiagOpts->SnippetLineLimit;
1341 DiagOpts->ShowLineNumbers
1353 DiagOpts->ShowColors, FID, SM);
1385 const SourceColumnMap sourceColMap(SourceLine, DiagOpts->TabStop);
1402 FID, LineNo, sourceColMap, Hints, SM, DiagOpts.get());
1406 unsigned Columns = DiagOpts->MessageLength;
1415 if (DiagOpts->ShowSourceRanges && !SourceLine.empty()) {
1426 if (DiagOpts->ShowColors)
1429 if (DiagOpts->ShowColors)
1435 if (DiagOpts->ShowColors)
1438 if (DiagOpts->ShowSourceRanges)
1441 if (DiagOpts->ShowColors)
1467 printableTextForNextCharacter(SourceLine, &I, DiagOpts->TabStop);
1470 if (DiagOpts->ShowColors) {
1501 if (DiagOpts->ShowColors)
1509 if (!DiagOpts->ShowParseableFixits)