| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| WithColor.cpp | 1 //===- WithColor.cpp ------------------------------------------------------===// 9 #include "llvm/Support/WithColor.h" 22 WithColor::WithColor(raw_ostream &OS, HighlightColor Color, ColorMode Mode) 61 raw_ostream &WithColor::error() { return error(errs()); } 63 raw_ostream &WithColor::warning() { return warning(errs()); } 65 raw_ostream &WithColor::note() { return note(errs()); } 67 raw_ostream &WithColor::remark() { return remark(errs()); } 69 raw_ostream &WithColor::error(raw_ostream &OS, StringRef Prefix, 73 return WithColor(OS, HighlightColor::Error [all...] |
| TypeSize.cpp | 25 WithColor::warning() << "Invalid size request on a scalable vector; " << Msg
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/ |
| PrettyEnumDumper.cpp | 27 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; 29 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; 31 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; 32 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; 33 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); 37 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; 38 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName(); 57 WithColor(Printer, PDB_ColorItem::Identifier).get() 60 WithColor(Printer, PDB_ColorItem::LiteralValue).get()
|
| PrettyTypedefDumper.cpp | 30 WithColor(Printer, PDB_ColorItem::Keyword).get() << "typedef "; 34 WithColor(Printer, PDB_ColorItem::Identifier).get() << " " 49 WithColor(Printer, PDB_ColorItem::Keyword).get() << "enum "; 50 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Symbol.getName(); 55 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; 57 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; 71 WithColor(Printer, PDB_ColorItem::Keyword).get() << " __restrict"; 80 WithColor(Printer, PDB_ColorItem::Keyword).get() << "class "; 81 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName();
|
| PrettyClassDefinitionDumper.cpp | 54 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; 56 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; 58 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; 60 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; 61 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); 62 WithColor(Printer, PDB_ColorItem::Comment).get() << " [sizeof = " << Size 75 WithColor(Printer, PDB_ColorItem::Keyword).get() << Base.getAccess(); 77 WithColor(Printer, PDB_ColorItem::Keyword).get() << " virtual"; 79 WithColor(Printer, PDB_ColorItem::Type).get() << " " << Base.getName(); 101 WithColor(Printer, PDB_ColorItem::Padding).get( [all...] |
| PrettyFunctionDumper.cpp | 44 WithColor(Printer, PDB_ColorItem::Type).get() << ClassParent->getName(); 74 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; 77 WithColor(Printer, PDB_ColorItem::Identifier).get() 84 WithColor(Printer, PDB_ColorItem::Keyword).get() << CC << " "; 86 WithColor(Printer, PDB_ColorItem::Identifier).get() 95 WithColor(Printer, PDB_ColorItem::Identifier).get() << Name; 111 WithColor(Printer, PDB_ColorItem::Keyword).get() << " const"; 113 WithColor(Printer, PDB_ColorItem::Keyword).get() << " volatile"; 121 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(FuncStart, 10); 124 WithColor(Printer, PDB_ColorItem::Offset).get( [all...] |
| PrettyCompilandDumper.cpp | 54 WithColor(Printer, PDB_ColorItem::Path).get() << FullName; 62 WithColor(Printer, PDB_ColorItem::Path).get() << File->getFileName(); 66 WithColor(Printer, PDB_ColorItem::Comment).get() 84 WithColor(Printer, StatementColor).get() << LineStart; 86 WithColor(Printer, StatementColor).get() << " - " << LineEnd; 92 WithColor(Printer, StatementColor).get() << ColumnStart; 94 WithColor(Printer, StatementColor).get() << " - " << ColumnEnd; 101 WithColor(Printer, PDB_ColorItem::Address).get() 107 WithColor(Printer, PDB_ColorItem::Address).get() 139 WithColor(Printer, PDB_ColorItem::Address).get( [all...] |
| PrettyVariableDumper.cpp | 51 WithColor(Printer, PDB_ColorItem::Address).get() 54 WithColor(Printer, PDB_ColorItem::Keyword).get() << "static "; 64 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Var.getValue(); 69 WithColor(Printer, PDB_ColorItem::Offset).get() 77 WithColor(Printer, PDB_ColorItem::Offset).get() 82 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Var.getLength(); 88 WithColor(Printer, PDB_ColorItem::Identifier).get() << Var.getName(); 97 WithColor(Printer, PDB_ColorItem::Offset).get() 107 WithColor(Printer, PDB_ColorItem::Offset).get() 135 WithColor(Printer, PDB_ColorItem::Type).get() << Symbol.getName() [all...] |
| PrettyExternalSymbolDumper.cpp | 38 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(Addr, 10); 40 WithColor(Printer, PDB_ColorItem::Identifier).get() << LinkageName;
|
| PrettyBuiltinDumper.cpp | 22 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; 24 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; 25 WithColor(Printer, PDB_ColorItem::Type).get() << getTypeName(Symbol);
|
| PrettyTypeDumper.cpp | 165 WithColor(Printer, PDB_ColorItem::Identifier).get() << Label; 183 WithColor(Printer, PDB_ColorItem::Keyword).get() << "const "; 185 WithColor(Printer, PDB_ColorItem::Keyword).get() << "volatile "; 187 WithColor(Printer, PDB_ColorItem::Keyword).get() << "unaligned "; 189 WithColor(Printer, PDB_ColorItem::Keyword).get() << Class.getUdtKind() << " "; 190 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName(); 219 WithColor(Printer, PDB_ColorItem::Identifier).get() << "Classes"; 303 WithColor(Printer, PDB_ColorItem::LiteralValue).get() << Symbol.getCount(); 352 WithColor(Printer, PDB_ColorItem::Keyword).get() 354 WithColor(Printer, PDB_ColorItem::Type).get() << Class.getName() [all...] |
| LinePrinter.h | 33 friend class WithColor; 153 class WithColor { 155 WithColor(LinePrinter &P, PDB_ColorItem C); 156 ~WithColor();
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| WithColor.h | 1 //===- WithColor.h ----------------------------------------------*- C++ -*-===// 53 class WithColor { 58 /// To be used like this: WithColor(OS, HighlightColor::String) << "text"; 62 WithColor(raw_ostream &OS, HighlightColor S, 64 /// To be used like this: WithColor(OS, raw_ostream::Black) << "text"; 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 [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/dsymutil/ |
| LinkUtils.h | 17 #include "llvm/Support/WithColor.h" 93 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";
|
| SymbolMap.cpp | 15 #include "llvm/Support/WithColor.h" 39 WithColor::warning() << "reference to a unexisting unobfuscated string " 120 WithColor::warning() << SymbolMapPath << ": " << EC.message() 136 WithColor::warning() << SymbolMapPath 146 WithColor::warning() << SymbolMapPath
|
| dsymutil.cpp | 42 #include "llvm/Support/WithColor.h" 392 WithColor::warning() << "verification skipped for " << Arch 399 WithColor::error() << OutputFile << ": " << toString(BinOrErr.takeError()); 411 WithColor::error() << "verification failed for " << Arch << '\n'; 491 WithColor::warning() << "ignoring unknown option: " << Arg->getSpelling() 513 WithColor::error() << toString(OptionsOrErr.takeError()); 527 WithColor::error() << toString(Repro.takeError()); 536 WithColor::error() << "unsupported cpu architecture: '" << Arch << "'\n"; 557 WithColor::error() << "cannot parse the debug map for '" << InputFile 576 WithColor::error() << "no architecture to link\n" [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/ |
| ErrorHandling.h | 16 #include "llvm/Support/WithColor.h" 24 WithColor::error(errs(), "llvm-profgen"); 29 WithColor::note() << Hint.str() << "\n";
|
| /src/external/apache2/llvm/dist/llvm/utils/not/ |
| not.cpp | 15 #include "llvm/Support/WithColor.h" 51 WithColor::error() << "unable to find `" << argv[0] 71 WithColor::error() << ErrMsg << "\n";
|
| /src/external/apache2/llvm/dist/llvm/utils/FileCheck/ |
| FileCheck.cpp | 22 #include "llvm/Support/WithColor.h" 260 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "L:"; 268 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "T:L"; 276 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "T:L'N"; 281 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "^~~"; 284 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "!~~"; 291 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "X~~"; 297 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "?"; 302 WithColor(OS, raw_ostream::SAVEDCOLOR, true) << "..."; 308 WithColor(OS, raw_ostream::GREEN, true) << "success" [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-cxxmap/ |
| llvm-cxxmap.cpp | 23 #include "llvm/Support/WithColor.h" 48 WithColor::warning(); 54 WithColor::note() << Hint << "\n"; 59 WithColor::error(); 65 WithColor::note() << Hint << "\n";
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-link/ |
| llvm-link.cpp | 35 #include "llvm/Support/WithColor.h" 162 WithColor::error() << " failed to read name of archive member" 174 WithColor::error() << " loading memory for member '" << ChildName 185 WithColor::error() << " member of archive is not a bitcode file: '" 199 WithColor::error() << " parsing member '" << ChildName 263 WithColor::error(); 268 WithColor::warning(); 316 WithColor::error() << "input module is broken!\n"; 367 WithColor::error() << " loading file '" << File << "'\n"; 376 WithColor::error() << "input module is broken!\n" [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-ml/ |
| llvm-ml.cpp | 43 #include "llvm/Support/WithColor.h" 101 WithColor::error() << EC.message() << '\n'; 138 WithColor::error(errs(), ProgName) 155 WithColor::error(errs(), ProgName) 187 WithColor::warning(errs(), ProgName) 201 WithColor::error(errs(), ProgName) << OS.str() << '\n'; 207 WithColor::warning(errs(), ProgName) 215 WithColor::warning(errs(), ProgName) 240 WithColor::error(errs(), ProgName) << Error; 247 WithColor::warning( [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/ |
| DWARFContext.h | 92 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);
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-mca/ |
| llvm-mca.cpp | 61 #include "llvm/Support/WithColor.h" 293 WithColor::error() << toString(Cycles.takeError()); 331 WithColor::error() << InputFilename << ": " << EC.message() << '\n'; 346 WithColor::warning() << "support for in-order CPU '" << MCPU 351 WithColor::error() 357 WithColor::note() 403 WithColor::error() 417 WithColor::error() << E.getMessage() << '\n'; 420 WithColor::error() << toString(std::move(Err)) << '\n'; 431 WithColor::error() << "no assembly instructions found.\n" [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llc/ |
| llc.cpp | 53 #include "llvm/Support/WithColor.h" 211 WithColor::error(errs(), "llc") << Prefix << Msg << "\n"; 304 WithColor::note() << "!srcloc = " << DISM.getLocCookie() << "\n"; 405 WithColor::error(errs(), argv0) 414 WithColor::error(errs(), argv0) 447 WithColor::error(errs(), argv[0]) << "invalid optimization level.\n"; 464 WithColor::error(errs(), argv[0]) 504 WithColor::error(errs(), argv[0]) << Error; 532 Err.print(argv[0], WithColor::error(errs(), argv[0])); 547 WithColor::error(errs(), argv[0]) << Error [all...] |