/llvm-project/llvm/lib/Support/ |
H A D | WithColor.cpp | 33 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 D | LinePrinter.h | 54 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 D | LinePrinter.cpp | 55 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 D | ClangQuery.cpp | 54 UseColor("use-color", variable 107 if (UseColor.getNumOccurrences() > 0) { in main() 110 if (UseColor) in main()
|
/llvm-project/llvm/include/llvm/MC/ |
H A D | MCInstPrinter.h | 61 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 D | YAMLBench.cpp | 56 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 D | ClangTidyMain.cpp | 79 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 D | scan-build | 32 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 D | ClangTidyOptions.cpp | 182 IO.mapOptional("UseColor", Options.UseColor); in mapping() 242 overrideValue(UseColor, Other.UseColor); in mergeWith()
|
H A D | ClangTidyOptions.h | 150 std::optional<bool> UseColor; 149 std::optional<bool> UseColor; global() member
|
H A D | ClangTidy.cpp | 105 DiagOpts->ShowColors = Context.getOptions().UseColor.value_or( in ErrorReporter()
|
/llvm-project/llvm/tools/llvm-cov/ |
H A D | CodeCoverage.cpp | 755 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 D | ClangTidyOptionsTest.cpp | 120 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 D | index.rst | 241 This option overrides the 'UseColor' option in 311 UseColor - Same as '--use-color'.
|
/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | llvm-pdbutil.cpp | 1092 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 D | CoreProperties.td | 159 def UseColor: Property<"use-color", "Boolean">,
|