Home
last modified time | relevance | path

Searched refs:Colors (Results 1 – 25 of 26) sorted by relevance

12

/openbsd-src/gnu/llvm/clang/tools/diagtool/
H A DTreeView.cpp24 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 Draw_ostream.h96 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 DWithColor.h71 raw_ostream::Colors Color = raw_ostream::SAVEDCOLOR,
120 WithColor &changeColor(raw_ostream::Colors Color, bool Bold = false,
H A DFormattedStream.h148 raw_ostream &changeColor(enum Colors Color, bool Bold, bool BG) override { in changeColor()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/Symbolize/
H A DMarkupFilter.cpp411 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 DCoverageViewOptions.h29 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 DSourceCoverageViewText.cpp105 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 DRenderingSupport.h50 raw_ostream::Colors Color,
H A DSourceCoverageView.cpp237 getOptions().Colors) in print()
H A DCodeCoverage.cpp791 ViewOpts.Colors = UseColor == cl::BOU_UNSET in run()
798 ViewOpts.Colors = true; in run()
803 ViewOpts.Colors = false; in run()
H A DCoverageReport.cpp114 raw_ostream::Colors determineCoveragePercentageColor(const T &Info) { in determineCoveragePercentageColor()
/openbsd-src/gnu/llvm/lld/Common/
H A DErrorHandler.cpp207 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 Draw_ostream.cpp65 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 DGraphWriter.cpp92 static const char* Colors[NumColors] = { in getColorString() local
96 return Colors[ColorNumber % NumColors]; in getColorString()
H A DWithColor.cpp143 WithColor &WithColor::changeColor(raw_ostream::Colors Color, bool Bold, in changeColor()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DEHPersonalities.cpp118 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 DErrorHandler.h124 using Colors = raw_ostream::Colors;
127 void reportDiagnostic(StringRef location, Colors c, StringRef diagKind,
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DTextDiagnostic.cpp27 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 DCmpRuns.py54 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 DASTDumperUtils.h30 llvm::raw_ostream::Colors Color;
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp116 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 DTimelineView.cpp109 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 DMarkupFilter.h153 std::optional<raw_ostream::Colors> Color;
/openbsd-src/gnu/llvm/llvm/utils/FileCheck/
H A DFileCheck.cpp191 raw_ostream::Colors Color;
197 MarkerStyle(char Lead, raw_ostream::Colors Color, in MarkerStyle()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp704 ColorVector &Colors = BlockColors[&BB]; in colorFunclets() local
705 for (BasicBlock *Color : Colors) in colorFunclets()

12