Home
last modified time | relevance | path

Searched refs:ShowColors (Results 1 – 20 of 20) sorted by relevance

/external/llvm/lib/Support/
DSourceMgr.cpp199 bool ShowColors) const { in PrintMessage()
212 Diagnostic.print(nullptr, OS, ShowColors); in PrintMessage()
218 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage()
219 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); in PrintMessage()
224 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage()
225 PrintMessage(llvm::errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); in PrintMessage()
336 bool ShowColors) const { in print()
338 ShowColors &= S.has_colors(); in print()
340 if (ShowColors) in print()
362 if (ShowColors) in print()
[all …]
/external/clang/tools/diagtool/
DTreeView.cpp35 const bool ShowColors; member in TreePrinter
39 : out(out), ShowColors(hasColors(out)), FlagsOnly(false) {} in TreePrinter()
42 if (ShowColors) in setColor()
47 if (ShowColors) in resetColor()
76 if (ShowColors && !isIgnored(I->DiagID)) in printGroup()
132 if (ShowColors) { in showKey()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp688 if (DiagOpts->ShowColors) in emitDiagnosticMessage()
691 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, in emitDiagnosticMessage()
696 DiagOpts->MessageLength, DiagOpts->ShowColors); in emitDiagnosticMessage()
702 bool ShowColors, in printDiagnosticLevel() argument
704 if (ShowColors) { in printDiagnosticLevel()
736 if (ShowColors) in printDiagnosticLevel()
745 unsigned Columns, bool ShowColors) { in printDiagnosticMessage() argument
747 if (ShowColors && !IsSupplemental) { in printDiagnosticMessage()
762 if (ShowColors) in printDiagnosticMessage()
796 if (DiagOpts->ShowColors) in emitDiagnosticLoc()
[all …]
DTextDiagnosticPrinter.cpp139 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, in HandleDiagnostic()
144 DiagOpts->ShowColors); in HandleDiagnostic()
DASTConsumers.cpp56 bool ShowColors = Out.has_colors(); in TraverseDecl() local
57 if (ShowColors) in TraverseDecl()
61 if (ShowColors) in TraverseDecl()
DCompilerInvocation.cpp680 Opts.ShowColors = Args.hasArg(OPT_fcolor_diagnostics); in ParseDiagnosticArgs()
/external/llvm/include/llvm/Support/
DSourceMgr.h165 bool ShowColors = true) const;
171 bool ShowColors = true) const;
178 bool ShowColors = true) const;
280 bool ShowColors = true) const;
/external/clang/include/clang/Frontend/
DTextDiagnostic.h54 bool ShowColors,
75 unsigned Columns, bool ShowColors);
/external/clang/lib/Analysis/
DCFG.cpp4227 bool ShowColors) { in print_block() argument
4232 if (ShowColors) in print_block()
4248 if (ShowColors) in print_block()
4305 if (ShowColors) in print_block()
4317 if (ShowColors) in print_block()
4325 if (ShowColors) in print_block()
4328 if (ShowColors) in print_block()
4333 if (ShowColors) in print_block()
4354 if (ShowColors) in print_block()
4363 if (ShowColors) in print_block()
[all …]
DAnalysisDeclContext.cpp249 void AnalysisDeclContext::dumpCFG(bool ShowColors) { in dumpCFG() argument
250 getCFG()->dump(getASTContext().getLangOpts(), ShowColors); in dumpCFG()
/external/clang/include/clang/Basic/
DDiagnostic.h179 bool ShowColors; // Color printing is enabled. variable
481 void setShowColors(bool Val = false) { ShowColors = Val; }
482 bool getShowColors() { return ShowColors; } in getShowColors()
1390 unsigned ShowColors : 1; member
DDiagnosticOptions.def66 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
/external/clang/include/clang/Analysis/
DCFG.h645 void dump(const CFG *cfg, const LangOptions &LO, bool ShowColors = false) const;
647 bool ShowColors) const;
943 void print(raw_ostream &OS, const LangOptions &LO, bool ShowColors) const;
944 void dump(const LangOptions &LO, bool ShowColors) const;
DAnalysisContext.h164 void dumpCFG(bool ShowColors);
/external/clang/lib/Basic/
DWarnings.cpp53 Diags.setShowColors(Opts.ShowColors); in ProcessWarningOptions()
DDiagnostic.cpp54 ShowColors = false; in DiagnosticsEngine()
855 TDT.ShowColors = getDiags()->ShowColors; in FormatDiagnostic()
/external/clang/lib/AST/
DASTDumper.cpp119 bool ShowColors; member in __anon59a9c3280111::ASTDumper
191 if (Dumper.ShowColors) in ColorScope()
195 if (Dumper.ShowColors) in ~ColorScope()
205 ShowColors(SM && SM->getDiagnostics().getShowColors()) { } in ASTDumper()
208 const SourceManager *SM, bool ShowColors) in ASTDumper() argument
211 ShowColors(ShowColors) { } in ASTDumper()
DASTDiagnostic.cpp254 bool ShowColors, raw_ostream &OS);
282 TDT.ShowColors, OS)) { in FormatASTNodeDiagnosticArgument()
1866 bool ShowColors, raw_ostream &OS) { in FormatTemplateTypeDiff() argument
1870 ElideType, ShowColors); in FormatTemplateTypeDiff()
/external/clang/lib/Driver/
DTools.cpp4448 enum { Colors_On, Colors_Off, Colors_Auto } ShowColors = Colors_Auto; in ConstructJob() local
4461 ShowColors = Colors_On; in ConstructJob()
4464 ShowColors = Colors_Off; in ConstructJob()
4469 ShowColors = Colors_On; in ConstructJob()
4471 ShowColors = Colors_Off; in ConstructJob()
4473 ShowColors = Colors_Auto; in ConstructJob()
4479 if (ShowColors == Colors_On || in ConstructJob()
4480 (ShowColors == Colors_Auto && llvm::sys::Process::StandardErrHasColors())) in ConstructJob()
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp116 SMRange Range, bool ShowColors = true);
2219 SMRange Range, bool ShowColors) { in printWarningWithFixIt() argument
2222 ShowColors); in printWarningWithFixIt()