Home
last modified time | relevance | path

Searched refs:WithColor (Results 1 – 25 of 113) sorted by relevance

12345

/llvm-project-15.0.7/llvm/lib/Support/
H A DWithColor.cpp41 WithColor::AutoDetectFunctionType WithColor::AutoDetectFunction =
44 WithColor::WithColor(raw_ostream &OS, HighlightColor Color, ColorMode Mode) in WithColor() function in WithColor
95 return WithColor(OS, HighlightColor::Error, in error()
115 return WithColor(OS, HighlightColor::Note, in note()
125 return WithColor(OS, HighlightColor::Remark, in remark()
131 bool WithColor::colorsEnabled() { in colorsEnabled()
143 WithColor &WithColor::changeColor(raw_ostream::Colors Color, bool Bold, in changeColor()
150 WithColor &WithColor::resetColor() { in resetColor()
156 WithColor::~WithColor() { resetColor(); } in ~WithColor()
170 WithColor::AutoDetectFunctionType WithColor::defaultAutoDetectFunction() { in defaultAutoDetectFunction()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DPrettyFunctionDumper.cpp80 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
89 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
98 WithColor(Printer, PDB_ColorItem::Identifier).get() << Name; in start()
114 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in start()
127 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
134 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
138 WithColor(Printer, PDB_ColorItem::Comment).get() in start()
143 WithColor(Printer, PDB_ColorItem::Register).get() in start()
147 WithColor(Printer, PDB_ColorItem::Register).get() << "FPO"; in start()
175 WithColor(Printer, PDB_ColorItem::Keyword).get() in start()
[all …]
H A DPrettyCompilandDumper.cpp53 WithColor(Printer, PDB_ColorItem::Path).get() << FullName; in start()
65 WithColor(Printer, PDB_ColorItem::Comment).get() in start()
83 WithColor(Printer, StatementColor).get() << LineStart; in start()
100 WithColor(Printer, PDB_ColorItem::Address).get() in start()
106 WithColor(Printer, PDB_ColorItem::Address).get() in start()
138 WithColor(Printer, PDB_ColorItem::Address).get() in dump()
141 WithColor(Printer, PDB_ColorItem::Comment).get() in dump()
147 WithColor(Printer, PDB_ColorItem::LiteralValue).get() in dump()
149 WithColor(Printer, PDB_ColorItem::Comment).get() in dump()
179 WithColor(Printer, PDB_ColorItem::Address).get() in dump()
[all …]
H A DPrettyVariableDumper.cpp53 WithColor(Printer, PDB_ColorItem::Address).get() in start()
56 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static "; in start()
71 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
79 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
99 WithColor(Printer, PDB_ColorItem::Offset).get() in startVbptr()
109 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
151 WithColor(Printer, PDB_ColorItem::Identifier).get() in dump()
170 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in dumpRight()
187 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in dump()
193 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const "; in dump()
[all …]
H A DPrettyEnumDumper.cpp28 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start()
30 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start()
32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in start()
33 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
34 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start()
38 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
39 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start()
58 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
61 WithColor(Printer, PDB_ColorItem::LiteralValue).get() in start()
H A DPrettyClassDefinitionDumper.cpp55 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in prettyPrintClassIntro()
57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in prettyPrintClassIntro()
59 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in prettyPrintClassIntro()
61 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in prettyPrintClassIntro()
62 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in prettyPrintClassIntro()
63 WithColor(Printer, PDB_ColorItem::Comment).get() << " [sizeof = " << Size in prettyPrintClassIntro()
76 WithColor(Printer, PDB_ColorItem::Keyword).get() << Base.getAccess(); in prettyPrintClassIntro()
78 WithColor(Printer, PDB_ColorItem::Keyword).get() << " virtual"; in prettyPrintClassIntro()
80 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Base.getName(); in prettyPrintClassIntro()
102 WithColor(Printer, PDB_ColorItem::Padding).get() in prettyPrintClassOutro()
[all …]
H A DPrettyTypedefDumper.cpp32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; in start()
36 WithColor(Printer, PDB_ColorItem::Identifier).get() << " " in start()
51 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in dump()
52 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName(); in dump()
57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump()
59 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in dump()
73 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict"; in dump()
82 WithColor(Printer, PDB_ColorItem::Keyword).get() << "class "; in dump()
83 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
H A DPrettyTypeDumper.cpp167 WithColor(Printer, PDB_ColorItem::Identifier).get() << Label; in dumpSymbolCategory()
185 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in printClassDecl()
187 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in printClassDecl()
189 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in printClassDecl()
191 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in printClassDecl()
192 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in printClassDecl()
221 WithColor(Printer, PDB_ColorItem::Identifier).get() << "Classes"; in start()
305 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Symbol.getCount(); in dump()
354 WithColor(Printer, PDB_ColorItem::Keyword).get() in dumpClassLayout()
356 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in dumpClassLayout()
H A DPrettyBuiltinDumper.cpp22 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start()
24 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start()
25 WithColor(Printer, PDB_ColorItem::Type).get() << getTypeName(Symbol); in start()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DWithColor.h53 class WithColor {
61 WithColor(raw_ostream &OS, HighlightColor S,
70 WithColor(raw_ostream &OS,
77 ~WithColor();
81 template <typename T> WithColor &operator<<(T &O) {
85 template <typename T> WithColor &operator<<(const T &O) {
120 WithColor &changeColor(raw_ostream::Colors Color, bool Bold = false,
125 WithColor &resetColor();
/llvm-project-15.0.7/llvm/utils/FileCheck/
H A DFileCheck.cpp262 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "L:"; in DumpInputAnnotationHelp()
270 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "T:L"; in DumpInputAnnotationHelp()
278 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "T:L'N"; in DumpInputAnnotationHelp()
283 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "^~~"; in DumpInputAnnotationHelp()
286 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "!~~"; in DumpInputAnnotationHelp()
293 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "X~~"; in DumpInputAnnotationHelp()
299 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "?"; in DumpInputAnnotationHelp()
304 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "..."; in DumpInputAnnotationHelp()
310 WithColor(OS, raw_ostream::GREEN, true) << "success"; in DumpInputAnnotationHelp()
312 WithColor(OS, raw_ostream::RED, true) << "error"; in DumpInputAnnotationHelp()
[all …]
/llvm-project-15.0.7/llvm/tools/dsymutil/
H A DLinkUtils.h96 WithColor::warning() << Warning + "\n";
98 WithColor::note() << Twine("while processing ") + Context + "\n";
102 WithColor::error() << Error + "\n";
104 WithColor::note() << Twine("while processing ") + Context + "\n";
H A Ddsymutil.cpp460 WithColor::warning() << "verification skipped for " << Arch in verifyOutput()
586 WithColor::error() << toString(OptionsOrErr.takeError()); in dsymutil_main()
600 WithColor::error() << toString(Repro.takeError()); in dsymutil_main()
630 WithColor::error() << "cannot parse the debug map for '" << InputFile in dsymutil_main()
649 WithColor::error() << "no architecture to link\n"; in dsymutil_main()
660 WithColor::error() << toString(OutputLocationOrErr.takeError()); in dsymutil_main()
685 WithColor::warning() in dsymutil_main()
710 WithColor::warning() in dsymutil_main()
725 WithColor::error() << toString(std::move(E)); in dsymutil_main()
740 WithColor::error() << OutputFile << ": " << EC.message(); in dsymutil_main()
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/
H A DMarkupFilter.cpp103 WithColor::error(errs()) in tryMMap()
262 WithColor::error() << "no mmap covers address\n"; in tryPC()
271 WithColor::defaultErrorHandler(LI.takeError()); in tryPC()
319 WithColor::error() << "no mmap covers address\n"; in tryBackTrace()
329 WithColor::defaultErrorHandler(II.takeError()); in tryBackTrace()
383 WithColor::error() << "no mmap covers address\n"; in tryData()
509 WithColor::error() << "unknown module type\n"; in parseModule()
528 WithColor::error() << "unknown mmap type\n"; in parseMMap()
538 WithColor::error() << "unknown module ID\n"; in parseMMap()
670 WithColor::error(errs()) in checkNumFieldsAtLeast()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-ml/
H A Dllvm-ml.cpp104 WithColor::error() << EC.message() << '\n'; in GetOutputStream()
141 WithColor::error(errs(), ProgName) in AssembleInput()
164 WithColor::error(errs(), ProgName) in AssembleInput()
181 WithColor::error(errs(), ProgName) in AssembleInput()
216 WithColor::warning(errs(), ProgName) in main()
236 WithColor::warning(errs(), ProgName) in main()
244 WithColor::warning(errs(), ProgName) in main()
276 WithColor::error(errs(), ProgName) << Error; in main()
283 WithColor::warning() in main()
291 WithColor::error(errs(), ProgName) in main()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-tli-checker/
H A Dllvm-tli-checker.cpp80 WithColor::error() << Message << '\n'; in fail()
98 WithColor::warning() << ArchiveFilename << "(" << ChildName in reportArchiveChildIssue()
170 WithColor::warning() << O->getFileName() in populateFromObject()
210 WithColor::defaultErrorHandler(std::move(Err)); in populateFromArchive()
219 WithColor::warning() << StringRef(Filepath) << ": not found\n"; in populateFromFile()
226 WithColor::defaultWarningHandler(ExpectedBinary.takeError()); in populateFromFile()
237 WithColor::warning() << StringRef(Filepath) in populateFromFile()
242 WithColor::warning() << StringRef(Filepath) << ": no symbols found\n"; in populateFromFile()
306 WithColor::error() << "NO symbols found!\n"; in main()
/llvm-project-15.0.7/llvm/tools/llvm-ifs/
H A Dllvm-ifs.cpp244 WithColor::defaultErrorHandler(std::move(Err)); in fatalError()
249 WithColor::error() << T.str() << '\n'; in fatalError()
408 WithColor::error() in main()
419 WithColor::error() << "Interface Stub: Target Mismatch." in main()
425 WithColor::error() << "Interface Stub: SoName Mismatch." in main()
452 WithColor::error() << "Interface Stub: Type Mismatch for " in main()
460 WithColor::error() << "Interface Stub: Size Mismatch for " in main()
479 WithColor::error() << "Interface Stub: Bad IfsVersion: " in main()
527 WithColor::error() << "Couldn't open " << *Config.Output in main()
532 WithColor::error() in main()
[all …]
/llvm-project-15.0.7/llvm/unittests/Support/
H A DWithColorTest.cpp20 WithColor(OS, HighlightColor::Error, ColorMode::Disable) << "test"; in TEST()
29 WithColor(OS, HighlightColor::Error, ColorMode::Auto) << "test"; in TEST()
39 WithColor(OS, HighlightColor::Error, ColorMode::Enable) << "test"; in TEST()
/llvm-project-15.0.7/llvm/tools/llvm-link/
H A Dllvm-link.cpp185 WithColor::error() << " failed to read name of archive member" in loadArFile()
197 WithColor::error() << " loading memory for member '" << ChildName in loadArFile()
210 WithColor::error() << " member of archive is not a bitcode file: '" in loadArFile()
224 WithColor::error() << " parsing member '" << ChildName in loadArFile()
288 WithColor::error(); in handleDiagnostics()
293 WithColor::warning(); in handleDiagnostics()
341 WithColor::error() << "input module is broken!\n"; in importFunctions()
392 WithColor::error() << " loading file '" << File << "'\n"; in linkFiles()
401 WithColor::error() << "input module is broken!\n"; in linkFiles()
496 WithColor::error() << EC.message() << '\n'; in main()
[all …]
/llvm-project-15.0.7/lldb/tools/driver/
H A DDriver.cpp193 WithColor::setAutoDetectFunction(disable_color); in ProcessArgs()
376 WithColor::warning() << "program arguments are ignored when attaching.\n"; in ProcessArgs()
558 WithColor::error() << error.GetCString() << '\n'; in MainLoop()
629 WithColor::error() << error_cstr << '\n'; in MainLoop()
631 WithColor::error() << error.GetError() << '\n'; in MainLoop()
752 WithColor::warning() in InitializeReproducer()
759 WithColor::warning() << "-capture-path specified without -capture\n"; in InitializeReproducer()
761 WithColor::error() << "reproducer capture failed: " << error << '\n'; in InitializeReproducer()
803 WithColor::error() << "argument to '" in main()
825 WithColor::error() << "initialization failed: " << error.GetCString() in main()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp304 WithColor::error() << toString(Cycles.takeError()); in runPipeline()
366 WithColor::error() in main()
372 WithColor::note() in main()
419 WithColor::error() in main()
433 WithColor::error() << E.getMessage() << '\n'; in main()
454 WithColor::error() << EC.message() << '\n'; in main()
464 WithColor::error() in main()
538 WithColor::error() << IE.Message << '\n'; in main()
541 WithColor::note() in main()
545 WithColor::error() << toString(std::move(NewE)); in main()
[all …]
/llvm-project-15.0.7/lldb/tools/lldb-server/
H A Dlldb-platform.cpp205 WithColor::error() << "invalid port offset string " << optarg << "\n"; in main_platform()
210 WithColor::error() << llvm::formatv( in main_platform()
223 WithColor::error() << "invalid port number string " << optarg << "\n"; in main_platform()
228 WithColor::error() << llvm::formatv( in main_platform()
258 WithColor::error() << llvm::formatv( in main_platform()
323 WithColor::error() << error.AsCString() << '\n'; in main_platform()
376 WithColor::error() << error.AsCString() << '\n'; in main_platform()
/llvm-project-15.0.7/llvm/tools/llc/
H A Dllc.cpp228 WithColor::error(errs(), "llc") << Prefix << Msg << "\n"; in reportError()
434 WithColor::error(errs(), argv0) in addPass()
443 WithColor::error(errs(), argv0) in addPass()
493 WithColor::error(errs(), argv[0]) in compileModule()
545 WithColor::error(errs(), argv[0]) << Error; in compileModule()
572 Err.print(argv[0], WithColor::error(errs(), argv[0])); in compileModule()
591 WithColor::error(errs(), argv[0]) << Error; in compileModule()
598 WithColor::error(errs(), argv[0]) in compileModule()
656 WithColor::warning(errs(), argv[0]) in compileModule()
682 WithColor::warning(errs(), argv[0]) in compileModule()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DErrorHandling.h24 WithColor::error(errs(), "llvm-profgen");
29 WithColor::note() << Hint.str() << "\n";
52 WithColor::warning() << format("%.2f", static_cast<double>(Num) * 100 / Total) in emitWarningSummary()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFContext.h88 WithColor::defaultErrorHandler;
89 std::function<void(Error)> WarningHandler = WithColor::defaultWarningHandler;
118 WithColor::defaultErrorHandler,
120 WithColor::defaultWarningHandler);
426 WithColor::defaultErrorHandler,
428 WithColor::defaultWarningHandler);
434 WithColor::defaultErrorHandler,
436 WithColor::defaultWarningHandler);

12345