| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | raw_ostream.h | 96 enum class Colors { enum 109 static constexpr Colors BLACK = Colors::BLACK; 110 static constexpr Colors RED = Colors::RED; 111 static constexpr Colors GREEN = Colors::GREEN; 112 static constexpr Colors YELLOW = Colors::YELLOW; 113 static constexpr Colors BLUE = Colors::BLUE; 114 static constexpr Colors MAGENTA = Colors::MAGENTA; 115 static constexpr Colors CYAN = Colors::CYAN; 116 static constexpr Colors WHITE = Colors::WHITE; 117 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/Symbolize/ |
| H A D | MarkupFilter.cpp | 411 OS.changeColor(raw_ostream::Colors::SAVEDCOLOR, Bold); in trySGR() 414 auto SGRColor = StringSwitch<std::optional<raw_ostream::Colors>>(Node.Text) 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() 420 .Case("\033[35m", raw_ostream::Colors::MAGENTA) in trySGR() 421 .Case("\033[36m", raw_ostream::Colors::CYAN) in trySGR() 422 .Case("\033[37m", raw_ostream::Colors::WHITE) in trySGR() [all …]
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-cov/ |
| H A D | CoverageViewOptions.h | 29 bool Colors; member 59 raw_ostream::Colors Color) const { in colored_ostream() 60 return llvm::colored_ostream(OS, Color, Colors); in colored_ostream()
|
| H A D | SourceCoverageViewText.cpp | 105 std::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,
|
| H A D | SourceCoverageView.cpp | 237 getOptions().Colors) in print()
|
| H A D | CodeCoverage.cpp | 791 ViewOpts.Colors = UseColor == cl::BOU_UNSET in run() 798 ViewOpts.Colors = true; in run() 803 ViewOpts.Colors = false; in run()
|
| H A D | CoverageReport.cpp | 114 raw_ostream::Colors determineCoveragePercentageColor(const T &Info) { in determineCoveragePercentageColor()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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; 73 constexpr raw_ostream::Colors raw_ostream::SAVEDCOLOR; 74 constexpr raw_ostream::Colors raw_ostream::RESET; [all …]
|
| H A D | GraphWriter.cpp | 92 static const char* Colors[NumColors] = { in getColorString() local 96 return Colors[ColorNumber % NumColors]; in getColorString()
|
| H A D | WithColor.cpp | 143 WithColor &WithColor::changeColor(raw_ostream::Colors Color, bool Bold, in changeColor()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/lld/include/lld/Common/ |
| H A D | ErrorHandler.h | 124 using Colors = raw_ostream::Colors; 127 void reportDiagnostic(StringRef location, Colors c, StringRef diagKind,
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 27 static const enum raw_ostream::Colors noteColor = 29 static const enum raw_ostream::Colors remarkColor = 31 static const enum raw_ostream::Colors fixitColor = 33 static const enum raw_ostream::Colors caretColor = 35 static const enum raw_ostream::Colors warningColor = 37 static const enum raw_ostream::Colors templateColor = 39 static const enum raw_ostream::Colors errorColor = raw_ostream::RED; 40 static const enum raw_ostream::Colors fatalColor = raw_ostream::RED; 42 static const enum raw_ostream::Colors savedColor =
|
| /openbsd-src/gnu/llvm/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
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | ASTDumperUtils.h | 30 llvm::raw_ostream::Colors Color;
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelDAGToDAGHVX.cpp | 116 Colors.clear(); in Coloring() 120 return Colors; in colors() 133 MapType Colors; member 145 auto F = Colors.find(N); in getColor() 146 return F != Colors.end() ? F->second : ColorKind::None; in getColor() 210 if (Colors.count(N)) in color() 216 Colors[N] = other(P.second); in color() 222 if (!Needed.count(conj(N)) || Colors.count(N)) in color() 227 Colors[N] = other(P.second); in color() 235 if (!Colors.count(N)) in color() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/Symbolize/ |
| H A D | MarkupFilter.h | 153 std::optional<raw_ostream::Colors> Color;
|
| /openbsd-src/gnu/llvm/llvm/utils/FileCheck/ |
| H A D | FileCheck.cpp | 191 raw_ostream::Colors Color; 197 MarkerStyle(char Lead, raw_ostream::Colors Color, in MarkerStyle()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | WinEHPrepare.cpp | 704 ColorVector &Colors = BlockColors[&BB]; in colorFunclets() local 705 for (BasicBlock *Color : Colors) in colorFunclets()
|