Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DWithColor.cpp22 WithColor::WithColor(raw_ostream &OS, HighlightColor Color, ColorMode Mode) in WithColor() function in WithColor
61 raw_ostream &WithColor::error() { return error(errs()); } in error()
63 raw_ostream &WithColor::warning() { return warning(errs()); } in warning()
65 raw_ostream &WithColor::note() { return note(errs()); } in note()
67 raw_ostream &WithColor::remark() { return remark(errs()); } in remark()
69 raw_ostream &WithColor::error(raw_ostream &OS, StringRef Prefix, in error()
73 return WithColor(OS, HighlightColor::Error, in error()
79 raw_ostream &WithColor::warning(raw_ostream &OS, StringRef Prefix, in warning()
83 return WithColor(OS, HighlightColor::Warning, in warning()
89 raw_ostream &WithColor::note(raw_ostream &OS, StringRef Prefix, in note()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DPrettyFunctionDumper.cpp44 WithColor(Printer, PDB_ColorItem::Type).get() << ClassParent->getName(); in dumpClassParentWithScopeOperator()
74 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start()
77 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
84 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; in start()
86 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
95 WithColor(Printer, PDB_ColorItem::Identifier).get() << Name; in start()
111 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; in start()
113 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile"; in start()
121 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(FuncStart, 10); in start()
124 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
[all …]
H A DPrettyVariableDumper.cpp51 WithColor(Printer, PDB_ColorItem::Address).get() in start()
54 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static "; in start()
64 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Var.getValue(); in start()
69 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
77 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
82 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Var.getLength(); in start()
88 WithColor(Printer, PDB_ColorItem::Identifier).get() << Var.getName(); in start()
97 WithColor(Printer, PDB_ColorItem::Offset).get() in startVbptr()
107 WithColor(Printer, PDB_ColorItem::Offset).get() in start()
135 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
[all …]
H A DPrettyCompilandDumper.cpp54 WithColor(Printer, PDB_ColorItem::Path).get() << FullName; in start()
62 WithColor(Printer, PDB_ColorItem::Path).get() << File->getFileName(); in start()
66 WithColor(Printer, PDB_ColorItem::Comment).get() in start()
84 WithColor(Printer, StatementColor).get() << LineStart; in start()
86 WithColor(Printer, StatementColor).get() << " - " << LineEnd; in start()
92 WithColor(Printer, StatementColor).get() << ColumnStart; in start()
94 WithColor(Printer, StatementColor).get() << " - " << ColumnEnd; in start()
101 WithColor(Printer, PDB_ColorItem::Address).get() in start()
107 WithColor(Printer, PDB_ColorItem::Address).get() in start()
139 WithColor(Printer, PDB_ColorItem::Address).get() in dump()
[all …]
H A DPrettyClassDefinitionDumper.cpp54 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in prettyPrintClassIntro()
56 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in prettyPrintClassIntro()
58 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in prettyPrintClassIntro()
60 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in prettyPrintClassIntro()
61 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in prettyPrintClassIntro()
62 WithColor(Printer, PDB_ColorItem::Comment).get() << " [sizeof = " << Size in prettyPrintClassIntro()
75 WithColor(Printer, PDB_ColorItem::Keyword).get() << Base.getAccess(); in prettyPrintClassIntro()
77 WithColor(Printer, PDB_ColorItem::Keyword).get() << " virtual"; in prettyPrintClassIntro()
79 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Base.getName(); in prettyPrintClassIntro()
101 WithColor(Printer, PDB_ColorItem::Padding).get() in prettyPrintClassOutro()
[all …]
H A DPrettyEnumDumper.cpp27 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in start()
29 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in start()
31 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in start()
32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
33 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start()
37 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in start()
38 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in start()
57 WithColor(Printer, PDB_ColorItem::Identifier).get() in start()
60 WithColor(Printer, PDB_ColorItem::LiteralValue).get() in start()
H A DPrettyTypedefDumper.cpp30 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; in start()
34 WithColor(Printer, PDB_ColorItem::Identifier).get() << " " in start()
49 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; in dump()
50 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName(); in dump()
55 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in dump()
57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in dump()
71 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict"; in dump()
80 WithColor(Printer, PDB_ColorItem::Keyword).get() << "class "; in dump()
81 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); in dump()
H A DPrettyTypeDumper.cpp165 WithColor(Printer, PDB_ColorItem::Identifier).get() << Label; in dumpSymbolCategory()
183 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; in printClassDecl()
185 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; in printClassDecl()
187 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; in printClassDecl()
189 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; in printClassDecl()
190 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); in printClassDecl()
219 WithColor(Printer, PDB_ColorItem::Identifier).get() << "Classes"; in start()
303 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Symbol.getCount(); in dump()
352 WithColor(Printer, PDB_ColorItem::Keyword).get() in dumpClassLayout()
354 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()
H A DLinePrinter.h33 friend class WithColor; variable
153 class WithColor {
155 WithColor(LinePrinter &P, PDB_ColorItem C);
156 ~WithColor();
H A DPrettyClassLayoutGraphicalDumper.cpp88 WithColor(Printer, PDB_ColorItem::Padding).get() in start()
102 WithColor(Printer, PDB_ColorItem::Padding).get() << "<padding> (" << Amount in printPaddingRow()
124 WithColor(Printer, PDB_ColorItem::Offset).get() in dump()
128 WithColor(Printer, PDB_ColorItem::Identifier).get() << Layout.getName(); in dump()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DWithColor.h53 class WithColor {
62 WithColor(raw_ostream &OS, HighlightColor S,
71 WithColor(raw_ostream &OS,
78 ~WithColor();
82 template <typename T> WithColor &operator<<(T &O) {
86 template <typename T> WithColor &operator<<(const T &O) {
121 WithColor &changeColor(raw_ostream::Colors Color, bool Bold = false,
126 WithColor &resetColor();
/netbsd-src/external/apache2/llvm/dist/llvm/utils/FileCheck/
H A DFileCheck.cpp260 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "L:"; in DumpInputAnnotationHelp()
268 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "T:L"; in DumpInputAnnotationHelp()
276 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "T:L'N"; in DumpInputAnnotationHelp()
281 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "^~~"; in DumpInputAnnotationHelp()
284 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "!~~"; in DumpInputAnnotationHelp()
291 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "X~~"; in DumpInputAnnotationHelp()
297 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "?"; in DumpInputAnnotationHelp()
302 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "..."; in DumpInputAnnotationHelp()
308 WithColor(OS, raw_ostream::GREEN, true) << "success"; in DumpInputAnnotationHelp()
310 WithColor(OS, raw_ostream::RED, true) << "error"; in DumpInputAnnotationHelp()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp293 WithColor::error() << toString(Cycles.takeError()); in runPipeline()
331 WithColor::error() << InputFilename << ": " << EC.message() << '\n'; in main()
346 WithColor::warning() << "support for in-order CPU '" << MCPU in main()
351 WithColor::error() in main()
357 WithColor::note() in main()
403 WithColor::error() in main()
417 WithColor::error() << E.getMessage() << '\n'; in main()
420 WithColor::error() << toString(std::move(Err)) << '\n'; in main()
431 WithColor::error() << "no assembly instructions found.\n"; in main()
438 WithColor::error() << EC.message() << '\n'; in main()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-ml/
H A Dllvm-ml.cpp101 WithColor::error() << EC.message() << '\n'; in GetOutputStream()
138 WithColor::error(errs(), ProgName) in AssembleInput()
155 WithColor::error(errs(), ProgName) in AssembleInput()
187 WithColor::warning(errs(), ProgName) in main()
201 WithColor::error(errs(), ProgName) << OS.str() << '\n'; in main()
207 WithColor::warning(errs(), ProgName) in main()
215 WithColor::warning(errs(), ProgName) in main()
240 WithColor::error(errs(), ProgName) << Error; in main()
247 WithColor::warning() in main()
255 WithColor::error(errs(), ProgName) in main()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A DLinkUtils.h93 WithColor::warning() << Warning + "\n";
95 WithColor::note() << Twine("while processing ") + Context + "\n";
99 WithColor::error() << Error + "\n";
101 WithColor::note() << Twine("while processing ") + Context + "\n";
H A Ddsymutil.cpp392 WithColor::warning() << "verification skipped for " << Arch in verify()
399 WithColor::error() << OutputFile << ": " << toString(BinOrErr.takeError()); in verify()
411 WithColor::error() << "verification failed for " << Arch << '\n'; in verify()
491 WithColor::warning() << "ignoring unknown option: " << Arg->getSpelling() in main()
513 WithColor::error() << toString(OptionsOrErr.takeError()); in main()
527 WithColor::error() << toString(Repro.takeError()); in main()
536 WithColor::error() << "unsupported cpu architecture: '" << Arch << "'\n"; in main()
557 WithColor::error() << "cannot parse the debug map for '" << InputFile in main()
576 WithColor::error() << "no architecture to link\n"; in main()
616 WithColor::warning() in main()
[all …]
H A DBinaryHolder.cpp59 WithColor::note() << "loaded archive '" << ArchiveFilename << "'\n"; in load()
105 WithColor::warning() << Filename in load()
114 WithColor::note() << "loaded object.\n"; in load()
199 WithColor::warning() in getObjectEntry()
208 WithColor::note() << "found member in archive.\n"; in getObjectEntry()
238 WithColor::note() << "trying to open '" << Filename << "'\n"; in getObjectEntry()
H A DSymbolMap.cpp39 WithColor::warning() << "reference to a unexisting unobfuscated string " in operator ()()
120 WithColor::warning() << SymbolMapPath << ": " << EC.message() in Load()
136 WithColor::warning() << SymbolMapPath in Load()
146 WithColor::warning() << SymbolMapPath in Load()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-link/
H A Dllvm-link.cpp162 WithColor::error() << " failed to read name of archive member" in loadArFile()
174 WithColor::error() << " loading memory for member '" << ChildName in loadArFile()
185 WithColor::error() << " member of archive is not a bitcode file: '" in loadArFile()
199 WithColor::error() << " parsing member '" << ChildName in loadArFile()
263 WithColor::error(); in handleDiagnostics()
268 WithColor::warning(); in handleDiagnostics()
316 WithColor::error() << "input module is broken!\n"; in importFunctions()
367 WithColor::error() << " loading file '" << File << "'\n"; in linkFiles()
376 WithColor::error() << "input module is broken!\n"; in linkFiles()
470 WithColor::error() << EC.message() << '\n'; in main()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFContext.h92 WithColor::defaultErrorHandler;
93 std::function<void(Error)> WarningHandler = WithColor::defaultWarningHandler;
122 WithColor::defaultErrorHandler,
124 WithColor::defaultWarningHandler);
389 WithColor::defaultErrorHandler,
391 WithColor::defaultWarningHandler);
397 WithColor::defaultErrorHandler,
399 WithColor::defaultWarningHandler);
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-ifs/
H A Dllvm-ifs.cpp346 WithColor::error(errs(), "llvm-ifs") << Msg << "\n"; in writeElfStub()
416 WithColor::error() << "Couldn't open " << OutputFilename in writeIfso()
434 WithColor::error() in writeIfso()
463 WithColor::error() << StubOrErr.takeError() << "\n"; in main()
482 WithColor::error() in main()
494 WithColor::error() << "Interface Stub: ObjectFileFormat Mismatch." in main()
502 WithColor::error() << "Interface Stub: Triple Mismatch." in main()
510 WithColor::error() << "Interface Stub: SOName Mismatch." in main()
518 WithColor::error() << "Interface Stub: NeededLibs Mismatch." in main()
537 WithColor::error() << "Interface Stub: Type Mismatch for " in main()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llc/
H A Dllc.cpp211 WithColor::error(errs(), "llc") << Prefix << Msg << "\n"; in reportError()
304 WithColor::note() << "!srcloc = " << DISM.getLocCookie() << "\n"; in handleDiagnostics()
405 WithColor::error(errs(), argv0) in addPass()
414 WithColor::error(errs(), argv0) in addPass()
447 WithColor::error(errs(), argv[0]) << "invalid optimization level.\n"; in compileModule()
464 WithColor::error(errs(), argv[0]) in compileModule()
504 WithColor::error(errs(), argv[0]) << Error; in compileModule()
532 Err.print(argv[0], WithColor::error(errs(), argv[0])); in compileModule()
547 WithColor::error(errs(), argv[0]) << Error; in compileModule()
554 WithColor::error(errs(), argv[0]) in compileModule()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp213 WithColor::error(errs(), ProgName) << Error; in GetTarget()
227 WithColor::error() << EC.message() << '\n'; in GetOutputStream()
276 WithColor::error() << "defsym must be of the form: sym=value: " << I in fillCommandLineSymbols()
282 WithColor::error() << "value is not an integer: " << Val << "\n"; in fillCommandLineSymbols()
300 WithColor::error(errs(), ProgName) in AssembleInput()
348 WithColor::error(errs(), ProgName) in main()
374 WithColor::error(errs(), ProgName) in main()
471 WithColor::error() << "dwo output only supported with object files\n"; in main()
492 WithColor::error() in main()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cxxmap/
H A Dllvm-cxxmap.cpp48 WithColor::warning(); in warn()
54 WithColor::note() << Hint << "\n"; in warn()
59 WithColor::error(); in exitWithError()
65 WithColor::note() << Hint << "\n"; in exitWithError()

1234