Home
last modified time | relevance | path

Searched refs:ShowColors (Results 1 – 23 of 23) 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()
335 void SMDiagnostic::print(const char *ProgName, raw_ostream &S, bool ShowColors, in print() argument
338 ShowColors &= S.has_colors(); in print()
340 if (ShowColors) in print()
363 if (ShowColors) in print()
[all …]
DYAMLParser.cpp268 Scanner(StringRef Input, SourceMgr &SM, bool ShowColors = true);
269 Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors = true);
279 SM.PrintMessage(Loc, Kind, Message, Ranges, /* FixIts= */ None, ShowColors); in printError()
555 bool ShowColors; member in llvm::yaml::Scanner
761 Scanner::Scanner(StringRef Input, SourceMgr &sm, bool ShowColors) in Scanner() argument
762 : SM(sm), ShowColors(ShowColors) { in Scanner()
766 Scanner::Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors) in Scanner() argument
767 : SM(SM_), ShowColors(ShowColors) { in Scanner()
1771 Stream::Stream(StringRef Input, SourceMgr &SM, bool ShowColors) in Stream() argument
1772 : scanner(new Scanner(Input, SM, ShowColors)), CurrentDoc() {} in Stream()
[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.cpp761 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;
279 void print(const char *ProgName, raw_ostream &S, bool ShowColors = true,
DYAMLParser.h79 Stream(StringRef Input, SourceMgr &, bool ShowColors = true);
81 Stream(MemoryBufferRef InputBuffer, SourceMgr &, bool ShowColors = true);
/external/clang/include/clang/Frontend/
DTextDiagnostic.h54 bool ShowColors,
75 unsigned Columns, bool ShowColors);
/external/clang/lib/Analysis/
DCFG.cpp4305 bool ShowColors) { in print_block() argument
4310 if (ShowColors) in print_block()
4326 if (ShowColors) in print_block()
4383 if (ShowColors) in print_block()
4395 if (ShowColors) in print_block()
4403 if (ShowColors) in print_block()
4406 if (ShowColors) in print_block()
4411 if (ShowColors) in print_block()
4432 if (ShowColors) in print_block()
4441 if (ShowColors) in print_block()
[all …]
DAnalysisDeclContext.cpp266 void AnalysisDeclContext::dumpCFG(bool ShowColors) { in dumpCFG() argument
267 getCFG()->dump(getASTContext().getLangOpts(), ShowColors); in dumpCFG()
/external/llvm/utils/yaml-bench/
DYAMLBench.cpp197 bool ShowColors = UseColor == cl::BOU_UNSET in main() local
213 yaml::Stream stream(Buf.getBuffer(), sm, ShowColors); in main()
/external/clang/include/clang/Basic/
DDiagnostic.h180 bool ShowColors; // Color printing is enabled. variable
482 void setShowColors(bool Val = false) { ShowColors = Val; }
483 bool getShowColors() { return ShowColors; } in getShowColors()
1396 unsigned ShowColors : 1; member
DDiagnosticOptions.def66 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
/external/clang/include/clang/Analysis/
DCFG.h644 void dump(const CFG *cfg, const LangOptions &LO, bool ShowColors = false) const;
646 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.cpp75 ShowColors = false; in DiagnosticsEngine()
868 TDT.ShowColors = getDiags()->ShowColors; in FormatDiagnostic()
/external/clang/lib/AST/
DASTDumper.cpp120 bool ShowColors; member in __anon950faced0111::ASTDumper
192 if (Dumper.ShowColors) in ColorScope()
196 if (Dumper.ShowColors) in ~ColorScope()
206 ShowColors(SM && SM->getDiagnostics().getShowColors()) { } in ASTDumper()
209 const SourceManager *SM, bool ShowColors) in ASTDumper() argument
212 ShowColors(ShowColors) { } in ASTDumper()
DASTDiagnostic.cpp318 bool ShowColors, raw_ostream &OS);
346 TDT.ShowColors, OS)) { in FormatASTNodeDiagnosticArgument()
1928 bool ShowColors, raw_ostream &OS) { in FormatTemplateTypeDiff() argument
1932 ElideType, ShowColors); in FormatTemplateTypeDiff()
/external/clang/lib/Driver/
DTools.cpp5261 enum { Colors_On, Colors_Off, Colors_Auto } ShowColors = Colors_Auto; in ConstructJob() local
5274 ShowColors = Colors_On; in ConstructJob()
5277 ShowColors = Colors_Off; in ConstructJob()
5282 ShowColors = Colors_On; in ConstructJob()
5284 ShowColors = Colors_Off; in ConstructJob()
5286 ShowColors = Colors_Auto; in ConstructJob()
5292 if (ShowColors == Colors_On || in ConstructJob()
5293 (ShowColors == Colors_Auto && llvm::sys::Process::StandardErrHasColors())) in ConstructJob()
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp126 SMRange Range, bool ShowColors = true);
3689 SMRange Range, bool ShowColors) { in printWarningWithFixIt() argument
3692 ShowColors); in printWarningWithFixIt()