Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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-15.0.7/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-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DLinePrinter.cpp56 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 DClangQuery.cpp53 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 DYAMLBench.cpp56 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 DClangTidyMain.cpp250 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 DClangTidyOptions.cpp133 IO.mapOptional("UseColor", Options.UseColor); in mapping()
187 overrideValue(UseColor, Other.UseColor); in mergeWith()
H A DClangTidyOptions.h138 llvm::Optional<bool> UseColor; member
H A DClangTidy.cpp107 DiagOpts->ShowColors = Context.getOptions().UseColor.value_or( in ErrorReporter()
/llvm-project-15.0.7/clang/tools/scan-build/bin/
H A Dscan-build32 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 DCodeCoverage.cpp717 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 DClangTidyOptionsTest.cpp139 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 DCoreProperties.td134 def UseColor: Property<"use-color", "Boolean">,
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp1094 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 Dindex.rst244 This option overrides the 'UseColor' option in