| /llvm-project-15.0.7/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-15.0.7/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-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | LinePrinter.cpp | 56 LinePrinter::LinePrinter(int Indent, bool UseColor, llvm::raw_ostream &Stream, in LinePrinter() argument 58 : OS(Stream), IndentSpaces(Indent), CurrentIndent(0), UseColor(UseColor), in LinePrinter() 295 : OS(P.OS), UseColor(P.hasColor()) { in WithColor() 296 if (UseColor) in WithColor() 301 if (UseColor) in ~WithColor()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-query/tool/ |
| H A D | ClangQuery.cpp | 53 UseColor("use-color", variable 120 if (UseColor.getNumOccurrences() > 0) { in main() 123 if (UseColor) in main()
|
| /llvm-project-15.0.7/llvm/utils/yaml-bench/ |
| H A D | YAMLBench.cpp | 56 UseColor("use-color", cl::desc("Emit colored output (default=autodetect)"), variable 196 bool ShowColors = UseColor == cl::BOU_UNSET in main() 198 : UseColor == cl::BOU_TRUE; in main()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/tool/ |
| H A D | ClangTidyMain.cpp | 250 static cl::opt<bool> UseColor("use-color", cl::desc(R"( variable 327 if (UseColor.getNumOccurrences() > 0) in createOptionsProvider() 328 OverrideOptions.UseColor = UseColor; in createOptionsProvider()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | ClangTidyOptions.cpp | 133 IO.mapOptional("UseColor", Options.UseColor); in mapping() 187 overrideValue(UseColor, Other.UseColor); in mergeWith()
|
| H A D | ClangTidyOptions.h | 138 llvm::Optional<bool> UseColor; member
|
| H A D | ClangTidy.cpp | 107 DiagOpts->ShowColors = Context.getOptions().UseColor.value_or( in ErrorReporter()
|
| /llvm-project-15.0.7/clang/tools/scan-build/bin/ |
| H A D | scan-build | 32 my $UseColor = (defined $TERM and $TERM =~ 'xterm-.*color' and -t STDOUT 85 if ($UseColor) { 95 if ($UseColor) { 113 if ($UseColor) {
|
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | CodeCoverage.cpp | 717 cl::opt<cl::boolOrDefault> UseColor( in run() local 774 ViewOpts.Colors = UseColor == cl::BOU_UNSET in run() 776 : UseColor == cl::BOU_TRUE; in run() 779 if (UseColor == cl::BOU_FALSE) in run() 784 if (UseColor == cl::BOU_TRUE) in run()
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | ClangTidyOptionsTest.cpp | 139 ASSERT_TRUE(Options.UseColor.has_value()); in TEST() 140 EXPECT_TRUE(*Options.UseColor); in TEST()
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | CoreProperties.td | 134 def UseColor: Property<"use-color", "Boolean">,
|
| /llvm-project-15.0.7/llvm/tools/llvm-pdbutil/ |
| H A D | llvm-pdbutil.cpp | 1094 const bool UseColor = opts::pretty::ColorOutput == cl::BOU_UNSET in dumpPretty() local 1097 LinePrinter Printer(2, UseColor, Stream, opts::Filters); in dumpPretty()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/ |
| H A D | index.rst | 244 This option overrides the 'UseColor' option in
|