| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | EnumeratedArrayTest.cpp | 26 EnumeratedArray<float, Colors, Colors::Last, size_t> Array1; in TEST() 28 Array1[Colors::Red] = 1.0; in TEST() 29 Array1[Colors::Blue] = 2.0; in TEST() 30 Array1[Colors::Green] = 3.0; in TEST() 38 EXPECT_TRUE(Array2[Colors::Red]); in TEST() 39 EXPECT_TRUE(Array2[Colors::Blue]); in TEST() 40 EXPECT_TRUE(Array2[Colors::Green]); in TEST() 42 Array2[Colors::Red] = true; in TEST() 43 Array2[Colors::Blue] = false; in TEST() 44 Array2[Colors::Green] = true; in TEST() [all …]
|
| /llvm-project-15.0.7/clang/tools/diagtool/ |
| H A D | TreeView.cpp | 24 using Colors = llvm::raw_ostream::Colors; typedef in TreePrinter 64 out << Colors::RED; in printGroup() 66 out << Colors::GREEN; in printGroup() 68 out << Colors::YELLOW; in printGroup() 70 out << "-W" << Group.getName() << "\n" << Colors::RESET; in printGroup() 80 out << Colors::GREEN; in printGroup() 82 out << DR.getName() << Colors::RESET << "\n"; in printGroup() 128 out << '\n' << Colors::GREEN << "GREEN" << Colors::RESET in showKey() 130 out << '\n' << Colors::RED << "RED" << Colors::RESET in showKey()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | raw_ostream.h | 98 enum class Colors { enum 111 static constexpr Colors BLACK = Colors::BLACK; 112 static constexpr Colors RED = Colors::RED; 113 static constexpr Colors GREEN = Colors::GREEN; 114 static constexpr Colors YELLOW = Colors::YELLOW; 115 static constexpr Colors BLUE = Colors::BLUE; 116 static constexpr Colors MAGENTA = Colors::MAGENTA; 117 static constexpr Colors CYAN = Colors::CYAN; 118 static constexpr Colors WHITE = Colors::WHITE; 119 static constexpr Colors SAVEDCOLOR = Colors::SAVEDCOLOR; [all …]
|
| H A D | WithColor.h | 71 raw_ostream::Colors Color = raw_ostream::SAVEDCOLOR, 120 WithColor &changeColor(raw_ostream::Colors Color, bool Bold = false,
|
| H A D | FormattedStream.h | 148 raw_ostream &changeColor(enum Colors Color, bool Bold, bool BG) override { in changeColor()
|
| /llvm-project-15.0.7/flang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 21 static const enum llvm::raw_ostream::Colors noteColor = 23 static const enum llvm::raw_ostream::Colors remarkColor = 25 static const enum llvm::raw_ostream::Colors warningColor = 27 static const enum llvm::raw_ostream::Colors errorColor = llvm::raw_ostream::RED; 28 static const enum llvm::raw_ostream::Colors fatalColor = llvm::raw_ostream::RED; 30 static const enum llvm::raw_ostream::Colors savedColor =
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/ |
| H A D | MarkupFilter.cpp | 411 OS.changeColor(raw_ostream::Colors::SAVEDCOLOR, Bold); in trySGR() 415 .Case("\033[30m", raw_ostream::Colors::BLACK) in trySGR() 416 .Case("\033[31m", raw_ostream::Colors::RED) in trySGR() 417 .Case("\033[32m", raw_ostream::Colors::GREEN) in trySGR() 418 .Case("\033[33m", raw_ostream::Colors::YELLOW) in trySGR() 419 .Case("\033[34m", raw_ostream::Colors::BLUE) in trySGR() 421 .Case("\033[36m", raw_ostream::Colors::CYAN) in trySGR() 422 .Case("\033[37m", raw_ostream::Colors::WHITE) in trySGR() 439 OS.changeColor(Color == raw_ostream::Colors::BLUE ? raw_ostream::Colors::CYAN in highlight() 448 OS.changeColor(raw_ostream::Colors::GREEN, Bold); in highlightValue() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | CoverageViewOptions.h | 29 bool Colors; member 58 raw_ostream::Colors Color) const { in colored_ostream() 59 return llvm::colored_ostream(OS, Color, Colors); in colored_ostream()
|
| H A D | SourceCoverageViewText.cpp | 105 Optional<raw_ostream::Colors> Highlight; in renderLine() 118 getOptions().Colors && Highlight, /*Bold=*/false, in renderLine() 135 getOptions().Colors && Highlight, /*Bold=*/false, /*BG=*/true) in renderLine() 157 Line.hasMultipleRegions() && getOptions().Colors) in renderLineCoverageColumn() 251 getOptions().Colors && !R.ExecutionCount, in renderBranchView() 261 getOptions().Colors && !R.FalseExecutionCount, in renderBranchView()
|
| H A D | RenderingSupport.h | 50 raw_ostream::Colors Color,
|
| /llvm-project-15.0.7/lld/Common/ |
| H A D | ErrorHandler.cpp | 207 void ErrorHandler::reportDiagnostic(StringRef location, Colors c, in reportDiagnostic() 215 os << c << diagKind << ": " << Colors::RESET; in reportDiagnostic() 228 reportDiagnostic(logName, Colors::RESET, "", msg); in log() 249 reportDiagnostic(getLocation(msg), Colors::MAGENTA, "warning", msg); in warn() 275 reportDiagnostic(getLocation(msg), Colors::RED, "error", msg); in error() 277 reportDiagnostic(logName, Colors::RED, "error", errorLimitExceededMsg); in error()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | raw_ostream.cpp | 65 constexpr raw_ostream::Colors raw_ostream::BLACK; 66 constexpr raw_ostream::Colors raw_ostream::RED; 67 constexpr raw_ostream::Colors raw_ostream::GREEN; 68 constexpr raw_ostream::Colors raw_ostream::YELLOW; 69 constexpr raw_ostream::Colors raw_ostream::BLUE; 70 constexpr raw_ostream::Colors raw_ostream::MAGENTA; 71 constexpr raw_ostream::Colors raw_ostream::CYAN; 72 constexpr raw_ostream::Colors raw_ostream::WHITE; 74 constexpr raw_ostream::Colors raw_ostream::RESET; 144 raw_ostream &raw_ostream::operator<<(Colors C) { in operator <<() [all …]
|
| H A D | GraphWriter.cpp | 92 static const char* Colors[NumColors] = { in getColorString() local 96 return Colors[ColorNumber % NumColors]; in getColorString()
|
| /llvm-project-15.0.7/bolt/lib/Profile/ |
| H A D | Heatmap.cpp | 63 auto changeColor = [&](raw_ostream::Colors Color) -> void { in print() 132 static raw_ostream::Colors Colors[] = { in print() local 135 constexpr size_t NumRanges = sizeof(Colors) / sizeof(Colors[0]); in print() 148 changeColor(Colors[I]); in print()
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-non-dependent-types.cpp | 41 enum Colors {red, green, blue}; enum 44 C<Q, Colors> dummyColors;
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | EHPersonalities.cpp | 118 ColorVector &Colors = BlockColors[Visiting]; in colorEHFunclets() local 119 if (!is_contained(Colors, Color)) in colorEHFunclets() 120 Colors.push_back(Color); in colorEHFunclets()
|
| /llvm-project-15.0.7/llvm/test/TableGen/ |
| H A D | interleave.td | 64 // CHECK: Colors = ["red", "green", "yellow"]; 68 list<string> Colors = ["red", "green", "yellow"]; 69 string ColorList = !interleave(Ishify<Colors>.ret, ", ");
|
| /llvm-project-15.0.7/lld/include/lld/Common/ |
| H A D | ErrorHandler.h | 124 using Colors = raw_ostream::Colors; 127 void reportDiagnostic(StringRef location, Colors c, StringRef diagKind,
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/unord.hash/ |
| H A D | enum.pass.cpp | 22 enum class Colors { red, orange, yellow, green, blue, indigo, violet }; enum 57 test<Colors>(); in main()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | suspicious-missing-comma.cpp | 14 const wchar_t* Colors[] = { variable
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 26 static const enum raw_ostream::Colors noteColor = 28 static const enum raw_ostream::Colors remarkColor = 30 static const enum raw_ostream::Colors fixitColor = 32 static const enum raw_ostream::Colors caretColor = 34 static const enum raw_ostream::Colors warningColor = 36 static const enum raw_ostream::Colors templateColor = 38 static const enum raw_ostream::Colors errorColor = raw_ostream::RED; 39 static const enum raw_ostream::Colors fatalColor = raw_ostream::RED; 41 static const enum raw_ostream::Colors savedColor =
|
| /llvm-project-15.0.7/clang/utils/analyzer/ |
| H A D | CmpRuns.py | 54 class Colors: class 525 report = Colors.GREEN + report + Colors.CLEAR 527 report = Colors.RED + report + Colors.CLEAR
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelDAGToDAGHVX.cpp | 110 Colors.clear(); in Coloring() 114 return Colors; in colors() 127 MapType Colors; member 139 auto F = Colors.find(N); in getColor() 204 if (Colors.count(N)) in color() 210 Colors[N] = other(P.second); in color() 229 if (!Colors.count(N)) in color() 257 Colors[N] = ColorN; in color() 258 Colors[C] = ColorC; in color() 263 if (Colors.count(I) == 0) in color() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTDumperUtils.h | 30 llvm::raw_ostream::Colors Color;
|
| /llvm-project-15.0.7/llvm/tools/llvm-mca/Views/ |
| H A D | TimelineView.cpp | 109 static raw_ostream::Colors chooseColor(unsigned CumulativeCycles, in chooseColor() 126 raw_ostream::Colors Color = chooseColor(Cycles, Executions, BufferSize); in tryChangeColor()
|