Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DSourceMgr.cpp206 bool ShowColors) const { in PrintMessage()
219 Diagnostic.print(nullptr, OS, ShowColors); in PrintMessage()
225 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage()
226 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); in PrintMessage()
231 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage()
232 PrintMessage(llvm::errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); in PrintMessage()
343 bool ShowColors) const { in print()
345 ShowColors &= S.has_colors(); in print()
347 if (ShowColors) in print()
369 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.cpp687 if (DiagOpts->ShowColors) in emitDiagnosticMessage()
690 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, in emitDiagnosticMessage()
695 DiagOpts->MessageLength, DiagOpts->ShowColors); in emitDiagnosticMessage()
701 bool ShowColors, in printDiagnosticLevel() argument
703 if (ShowColors) { in printDiagnosticLevel()
735 if (ShowColors) in printDiagnosticLevel()
744 unsigned Columns, bool ShowColors) { in printDiagnosticMessage() argument
746 if (ShowColors && !IsSupplemental) { in printDiagnosticMessage()
761 if (ShowColors) in printDiagnosticMessage()
795 if (DiagOpts->ShowColors) in emitDiagnosticLoc()
[all …]
DTextDiagnosticPrinter.cpp139 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, in HandleDiagnostic()
144 DiagOpts->ShowColors); in HandleDiagnostic()
DASTConsumers.cpp57 bool ShowColors = Out.has_colors(); in TraverseDecl() local
58 if (ShowColors) in TraverseDecl()
61 if (ShowColors) in TraverseDecl()
DCompilerInvocation.cpp611 Opts.ShowColors = Args.hasArg(OPT_fcolor_diagnostics); in ParseDiagnosticArgs()
/external/llvm/include/llvm/Support/
DSourceMgr.h159 bool ShowColors = true) const;
165 bool ShowColors = true) const;
172 bool ShowColors = true) const;
274 bool ShowColors = true) const;
/external/clang/include/clang/Frontend/
DTextDiagnostic.h54 bool ShowColors,
75 unsigned Columns, bool ShowColors);
/external/clang/lib/Analysis/
DCFG.cpp4147 bool ShowColors) { in print_block() argument
4152 if (ShowColors) in print_block()
4168 if (ShowColors) in print_block()
4225 if (ShowColors) in print_block()
4237 if (ShowColors) in print_block()
4245 if (ShowColors) in print_block()
4248 if (ShowColors) in print_block()
4253 if (ShowColors) in print_block()
4274 if (ShowColors) in print_block()
4283 if (ShowColors) in print_block()
[all …]
DAnalysisDeclContext.cpp242 void AnalysisDeclContext::dumpCFG(bool ShowColors) { in dumpCFG() argument
243 getCFG()->dump(getASTContext().getLangOpts(), ShowColors); in dumpCFG()
/external/clang/include/clang/Basic/
DDiagnostic.h179 bool ShowColors; // Color printing is enabled. variable
485 void setShowColors(bool Val = false) { ShowColors = Val; }
486 bool getShowColors() { return ShowColors; } in getShowColors()
1382 unsigned ShowColors : 1; member
DDiagnosticOptions.def66 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
/external/clang/lib/Basic/
DWarnings.cpp56 Diags.setShowColors(Opts.ShowColors); in ProcessWarningOptions()
DDiagnostic.cpp55 ShowColors = false; in DiagnosticsEngine()
838 TDT.ShowColors = getDiags()->ShowColors; in FormatDiagnostic()
/external/clang/include/clang/Analysis/
DCFG.h646 void dump(const CFG *cfg, const LangOptions &LO, bool ShowColors = false) const;
648 bool ShowColors) const;
945 void print(raw_ostream &OS, const LangOptions &LO, bool ShowColors) const;
946 void dump(const LangOptions &LO, bool ShowColors) const;
DAnalysisContext.h155 void dumpCFG(bool ShowColors);
/external/clang/lib/AST/
DASTDumper.cpp120 bool ShowColors; member in __anon6c9e827f0111::ASTDumper
143 if (Dumper.ShowColors) in ColorScope()
147 if (Dumper.ShowColors) in ~ColorScope()
189 ShowColors(SM && SM->getDiagnostics().getShowColors()) { } in ASTDumper()
192 const SourceManager *SM, bool ShowColors) in ASTDumper() argument
195 ShowColors(ShowColors) { } in ASTDumper()
DASTDiagnostic.cpp254 bool ShowColors, raw_ostream &OS);
282 TDT.ShowColors, OS)) { in FormatASTNodeDiagnosticArgument()
1733 bool ShowColors, raw_ostream &OS) { in FormatTemplateTypeDiff() argument
1737 ElideType, ShowColors); in FormatTemplateTypeDiff()
/external/clang/lib/Driver/
DTools.cpp3972 enum { Colors_On, Colors_Off, Colors_Auto } ShowColors = Colors_Auto; in ConstructJob() local
3985 ShowColors = Colors_On; in ConstructJob()
3988 ShowColors = Colors_Off; in ConstructJob()
3993 ShowColors = Colors_On; in ConstructJob()
3995 ShowColors = Colors_Off; in ConstructJob()
3997 ShowColors = Colors_Auto; in ConstructJob()
4003 if (ShowColors == Colors_On || in ConstructJob()
4004 (ShowColors == Colors_Auto && llvm::sys::Process::StandardErrHasColors())) in ConstructJob()