Home
last modified time | relevance | path

Searched refs:UseColor (Results 1 – 16 of 16) sorted by relevance

/llvm-project/llvm/lib/Support/
H A DWithColor.cpp33 static ManagedStatic<cl::opt<cl::boolOrDefault>, CreateUseColor> UseColor; variable
34 void llvm::initWithColorOptions() { *UseColor; } in initWithColorOptions()
37 return *UseColor == cl::BOU_UNSET ? OS.has_colors() in DefaultAutoDetectFunction()
38 : *UseColor == cl::BOU_TRUE; in DefaultAutoDetectFunction()
/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DLinePrinter.h54 LinePrinter(int Indent, bool UseColor, raw_ostream &Stream,
83 bool hasColor() const { return UseColor; } in hasColor()
105 bool UseColor; variable
180 bool UseColor; variable
/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DLinePrinter.cpp55 LinePrinter::LinePrinter(int Indent, bool UseColor, llvm::raw_ostream &Stream,
57 : OS(Stream), IndentSpaces(Indent), CurrentIndent(0), UseColor(UseColor), in LinePrinter()
294 : OS(P.OS), UseColor(P.hasColor()) { in WithColor()
295 if (UseColor) in WithColor()
300 if (UseColor) in ~WithColor()
56 LinePrinter(int Indent,bool UseColor,llvm::raw_ostream & Stream,const FilterOptions & Filters) LinePrinter() argument
/llvm-project/clang-tools-extra/clang-query/tool/
H A DClangQuery.cpp54 UseColor("use-color", variable
107 if (UseColor.getNumOccurrences() > 0) { in main()
110 if (UseColor) in main()
/llvm-project/llvm/include/llvm/MC/
H A DMCInstPrinter.h61 bool UseColor = false;
157 bool getUseColor() const { return UseColor; } in getPrintImmHex()
158 void setUseColor(bool Value) { UseColor = Value; } in setPrintImmHex()
60 bool UseColor = false; global() variable
/llvm-project/llvm/utils/yaml-bench/
H A DYAMLBench.cpp56 UseColor("use-color", cl::desc("Emit colored output (default=autodetect)"), variable
185 bool ShowColors = UseColor == cl::BOU_UNSET in createJSONText()
187 : UseColor == cl::BOU_TRUE; in createJSONText()
/llvm-project/clang-tools-extra/clang-tidy/tool/
H A DClangTidyMain.cpp79 UseColor - Same as '--use-color'.
320 static cl::opt<bool> UseColor("use-color", desc(R"(
324 This option overrides the 'UseColor' option in
407 if (UseColor.getNumOccurrences() > 0) in createOptionsProvider()
408 OverrideOptions.UseColor = UseColor; in createOptionsProvider()
313 static cl::opt<bool> UseColor("use-color", desc(R"( global() variable
/llvm-project/clang/tools/scan-build/bin/
H A Dscan-build32 my $UseColor = (defined $TERM and $TERM =~ 'xterm-.*color' and -t STDOUT
84 if ($UseColor) {
94 if ($UseColor) {
112 if ($UseColor) {
/llvm-project/clang-tools-extra/clang-tidy/
H A DClangTidyOptions.cpp182 IO.mapOptional("UseColor", Options.UseColor); in mapping()
242 overrideValue(UseColor, Other.UseColor); in mergeWith()
H A DClangTidyOptions.h150 std::optional<bool> UseColor;
149 std::optional<bool> UseColor; global() member
H A DClangTidy.cpp105 DiagOpts->ShowColors = Context.getOptions().UseColor.value_or( in ErrorReporter()
/llvm-project/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp755 cl::opt<cl::boolOrDefault> UseColor( in run() local
827 ViewOpts.Colors = UseColor == cl::BOU_UNSET in run()
829 : UseColor == cl::BOU_TRUE; in run()
832 if (UseColor == cl::BOU_FALSE) in run()
837 if (UseColor == cl::BOU_TRUE) in run()
/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyOptionsTest.cpp120 UseColor: false in TEST()
134 UseColor: true in TEST()
154 ASSERT_TRUE(Options.UseColor.has_value()); in TEST()
155 EXPECT_TRUE(*Options.UseColor); in TEST()
245 UseColor: [[NotABool]] in TEST()
/llvm-project/clang-tools-extra/docs/clang-tidy/
H A Dindex.rst241 This option overrides the 'UseColor' option in
311 UseColor - Same as '--use-color'.
/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp1092 const bool UseColor = opts::pretty::ColorOutput == cl::BOU_UNSET in dumpPretty() local
1095 LinePrinter Printer(2, UseColor, Stream, opts::Filters); in dumpPretty()
/llvm-project/lldb/source/Core/
H A DCoreProperties.td159 def UseColor: Property<"use-color", "Boolean">,