Searched refs:ShowColors (Results 1 - 18 of 18) sorted by relevance

/external/clang/tools/diagtool/
H A DTreeView.cpp35 const bool ShowColors; member in class:TreePrinter
39 : out(out), ShowColors(hasColors(out)), FlagsOnly(false) {}
42 if (ShowColors)
47 if (ShowColors)
76 if (ShowColors && !isIgnored(I->DiagID))
132 if (ShowColors) {
/external/llvm/lib/Support/
H A DSourceMgr.cpp206 bool ShowColors) const {
219 Diagnostic.print(nullptr, OS, ShowColors);
225 ArrayRef<SMFixIt> FixIts, bool ShowColors) const {
226 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors);
231 ArrayRef<SMFixIt> FixIts, bool ShowColors) const {
232 PrintMessage(llvm::errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); local
343 bool ShowColors) const {
345 ShowColors &= S.has_colors();
347 if (ShowColors)
369 if (ShowColors)
[all...]
/external/clang/include/clang/Frontend/
H A DTextDiagnostic.h54 bool ShowColors,
72 /// \param ShowColors Enable colorizing of the message.
75 unsigned Columns, bool ShowColors);
/external/clang/lib/Frontend/
H A DTextDiagnosticPrinter.cpp139 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors,
144 DiagOpts->ShowColors);
H A DTextDiagnostic.cpp687 if (DiagOpts->ShowColors)
690 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors,
695 DiagOpts->MessageLength, DiagOpts->ShowColors);
701 bool ShowColors,
703 if (ShowColors) {
735 if (ShowColors)
744 unsigned Columns, bool ShowColors) {
746 if (ShowColors && !IsSupplemental) {
761 if (ShowColors)
795 if (DiagOpts->ShowColors)
[all...]
H A DASTConsumers.cpp57 bool ShowColors = Out.has_colors(); local
58 if (ShowColors)
61 if (ShowColors)
H A DCompilerInvocation.cpp611 Opts.ShowColors = Args.hasArg(OPT_fcolor_diagnostics);
/external/llvm/include/llvm/Support/
H A DSourceMgr.h153 /// \param ShowColors Display colored messages if output is a terminal and
159 bool ShowColors = true) const;
165 bool ShowColors = true) const;
169 /// \param ShowColors Display colored messages if output is a terminal and
172 bool ShowColors = true) const;
274 bool ShowColors = true) const;
/external/clang/lib/AST/
H A DASTDumper.cpp120 bool ShowColors; member in class:__anon17715::ASTDumper
143 if (Dumper.ShowColors)
147 if (Dumper.ShowColors)
189 ShowColors(SM && SM->getDiagnostics().getShowColors()) { }
192 const SourceManager *SM, bool ShowColors)
195 ShowColors(ShowColors) { }
2159 &getASTContext().getSourceManager(), /*ShowColors*/true);
2195 ASTDumper P(llvm::errs(), nullptr, nullptr, /*ShowColors*/true);
2221 ASTDumper D(llvm::errs(), nullptr, nullptr, /*ShowColors*/tru
191 ASTDumper(raw_ostream &OS, const CommandTraits *Traits, const SourceManager *SM, bool ShowColors) argument
[all...]
H A DASTDiagnostic.cpp254 bool ShowColors, raw_ostream &OS);
282 TDT.ShowColors, OS)) {
1733 bool ShowColors, raw_ostream &OS) {
1737 ElideType, ShowColors);
1730 FormatTemplateTypeDiff(ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColors, raw_ostream &OS) argument
/external/clang/lib/Basic/
H A DWarnings.cpp56 Diags.setShowColors(Opts.ShowColors);
H A DDiagnostic.cpp55 ShowColors = false;
838 TDT.ShowColors = getDiags()->ShowColors;
/external/clang/lib/Analysis/
H A DCFG.cpp4147 bool ShowColors) {
4152 if (ShowColors)
4168 if (ShowColors)
4225 if (ShowColors)
4237 if (ShowColors)
4245 if (ShowColors)
4248 if (ShowColors)
4253 if (ShowColors)
4274 if (ShowColors)
4283 if (ShowColors)
4144 print_block(raw_ostream &OS, const CFG* cfg, const CFGBlock &B, StmtPrinterHelper &Helper, bool print_edges, bool ShowColors) argument
4328 print(llvm::errs(), LO, ShowColors); local
4356 print(llvm::errs(), cfg, LO, ShowColors); local
[all...]
H A DAnalysisDeclContext.cpp242 void AnalysisDeclContext::dumpCFG(bool ShowColors) { argument
243 getCFG()->dump(getASTContext().getLangOpts(), ShowColors);
/external/clang/include/clang/Analysis/
H A 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;
H A DAnalysisContext.h155 void dumpCFG(bool ShowColors);
/external/clang/include/clang/Basic/
H A DDiagnostic.h179 bool ShowColors; // Color printing is enabled. member in class:clang::DiagnosticsEngine
485 void setShowColors(bool Val = false) { ShowColors = Val; }
486 bool getShowColors() { return ShowColors; }
1382 unsigned ShowColors : 1;
/external/clang/lib/Driver/
H A DTools.cpp3972 enum { Colors_On, Colors_Off, Colors_Auto } ShowColors = Colors_Auto; local
3985 ShowColors = Colors_On;
3988 ShowColors = Colors_Off;
3993 ShowColors = Colors_On;
3995 ShowColors = Colors_Off;
3997 ShowColors = Colors_Auto;
4003 if (ShowColors == Colors_On ||
4004 (ShowColors == Colors_Auto && llvm::sys::Process::StandardErrHasColors()))

Completed in 303 milliseconds