Home
last modified time | relevance | path

Searched refs:ShowColors (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTDumper.h24 const bool ShowColors; variable
27 ASTDumper(raw_ostream &OS, const ASTContext &Context, bool ShowColors) in ASTDumper() argument
28 : NodeDumper(OS, Context, ShowColors), OS(OS), ShowColors(ShowColors) {} in ASTDumper()
30 ASTDumper(raw_ostream &OS, bool ShowColors) in ASTDumper() argument
31 : NodeDumper(OS, ShowColors), OS(OS), ShowColors(ShowColors) {} in ASTDumper()
H A DASTDumperUtils.h88 const bool ShowColors; variable
91 ColorScope(llvm::raw_ostream &OS, bool ShowColors, TerminalColor Color) in ColorScope() argument
92 : OS(OS), ShowColors(ShowColors) { in ColorScope()
93 if (ShowColors) in ColorScope()
97 if (ShowColors) in ~ColorScope()
H A DTextNodeDumper.h35 const bool ShowColors; variable
89 ColorScope Color(OS, ShowColors, IndentColor); in AddChild()
123 TextTreeStructure(raw_ostream &OS, bool ShowColors) in TextTreeStructure() argument
124 : OS(OS), ShowColors(ShowColors) {} in TextTreeStructure()
137 const bool ShowColors; variable
166 TextNodeDumper(raw_ostream &OS, const ASTContext &Context, bool ShowColors);
167 TextNodeDumper(raw_ostream &OS, bool ShowColors);
/llvm-project-15.0.7/clang/lib/AST/
H A DTextNodeDumper.cpp61 bool ShowColors) in TextNodeDumper() argument
62 : TextTreeStructure(OS, ShowColors), OS(OS), ShowColors(ShowColors), in TextNodeDumper()
68 : TextTreeStructure(OS, ShowColors), OS(OS), ShowColors(ShowColors) {} in TextNodeDumper()
73 ColorScope Color(OS, ShowColors, NullColor); in Visit()
91 ColorScope Color(OS, ShowColors, AttrColor); in Visit()
126 ColorScope Color(OS, ShowColors, NullColor); in Visit()
131 ColorScope Color(OS, ShowColors, StmtColor); in Visit()
188 ColorScope Color(OS, ShowColors, NullColor); in Visit()
202 ColorScope Color(OS, ShowColors, TypeColor); in Visit()
244 ColorScope Color(OS, ShowColors, NullColor); in Visit()
[all …]
H A DASTDumper.cpp48 ColorScope Color(OS, ShowColors, DeclNameColor); in dumpLookups()
77 ColorScope Color(OS, ShowColors, UndeserializedColor); in dumpLookups()
/llvm-project-15.0.7/llvm/lib/Support/
H A DSourceMgr.cpp332 bool ShowColors) const { in PrintMessage()
345 Diagnostic.print(nullptr, OS, ShowColors); in PrintMessage()
351 bool ShowColors) const { in PrintMessage()
352 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); in PrintMessage()
358 PrintMessage(errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); in PrintMessage()
482 ColorMode Mode = ShowColors ? ColorMode::Auto : ColorMode::Disable; in print()
508 WithColor::error(OS, "", !ShowColors); in print()
511 WithColor::warning(OS, "", !ShowColors); in print()
514 WithColor::note(OS, "", !ShowColors); in print()
517 WithColor::remark(OS, "", !ShowColors); in print()
[all …]
H A DYAMLParser.cpp250 Scanner(StringRef Input, SourceMgr &SM, bool ShowColors = true,
252 Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors = true,
552 bool ShowColors; member in llvm::yaml::Scanner
849 Scanner::Scanner(StringRef Input, SourceMgr &sm, bool ShowColors, in Scanner() argument
851 : SM(sm), ShowColors(ShowColors), EC(EC) { in Scanner()
855 Scanner::Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors, in Scanner() argument
857 : SM(SM_), ShowColors(ShowColors), EC(EC) { in Scanner()
1898 Stream::Stream(StringRef Input, SourceMgr &SM, bool ShowColors, in Stream() argument
1900 : scanner(new Scanner(Input, SM, ShowColors, EC)) {} in Stream()
1902 Stream::Stream(MemoryBufferRef InputBuffer, SourceMgr &SM, bool ShowColors, in Stream() argument
[all …]
/llvm-project-15.0.7/clang/lib/Frontend/
H A DTextDiagnostic.cpp683 if (DiagOpts->ShowColors) in emitDiagnosticMessage()
698 if (ShowColors) { in printDiagnosticLevel()
721 if (ShowColors) in printDiagnosticLevel()
732 if (ShowColors && !IsSupplemental) { in printDiagnosticMessage()
747 if (ShowColors) in printDiagnosticMessage()
813 if (DiagOpts->ShowColors) in emitDiagnosticLoc()
1254 if (DiagOpts->ShowColors) in emitSnippetAndCaret()
1257 if (DiagOpts->ShowColors) in emitSnippetAndCaret()
1262 if (DiagOpts->ShowColors) in emitSnippetAndCaret()
1268 if (DiagOpts->ShowColors) in emitSnippetAndCaret()
[all …]
H A DASTConsumers.cpp57 bool ShowColors = Out.has_colors(); in TraverseDecl() local
58 if (ShowColors) in TraverseDecl()
65 if (ShowColors) in TraverseDecl()
H A DTextDiagnosticPrinter.cpp136 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors); in HandleDiagnostic()
140 DiagOpts->MessageLength, DiagOpts->ShowColors); in HandleDiagnostic()
/llvm-project-15.0.7/flang/lib/Frontend/
H A DTextDiagnosticPrinter.cpp52 diagOpts->ShowColors); in HandleDiagnostic()
56 diagMessageStream.str(), diagOpts->ShowColors); in HandleDiagnostic()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DSourceMgr.h222 bool ShowColors = true) const;
228 bool ShowColors = true) const;
235 bool ShowColors = true) const;
319 void print(const char *ProgName, raw_ostream &S, bool ShowColors = true,
H A DYAMLParser.h88 Stream(StringRef Input, SourceMgr &, bool ShowColors = true,
91 Stream(MemoryBufferRef InputBuffer, SourceMgr &, bool ShowColors = true,
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DTextDiagnostic.h53 bool ShowColors);
73 unsigned Columns, bool ShowColors);
/llvm-project-15.0.7/llvm/utils/yaml-bench/
H A DYAMLBench.cpp196 bool ShowColors = UseColor == cl::BOU_UNSET in main() local
212 yaml::Stream stream(Buf.getBuffer(), sm, ShowColors); in main()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp5843 if (ShowColors) in print_block()
5859 if (ShowColors) in print_block()
5922 if (ShowColors) in print_block()
5934 if (ShowColors) in print_block()
5942 if (ShowColors) in print_block()
5945 if (ShowColors) in print_block()
5950 if (ShowColors) in print_block()
5970 if (ShowColors) in print_block()
5979 if (ShowColors) in print_block()
5982 if (ShowColors) in print_block()
[all …]
H A DAnalysisDeclContext.cpp275 void AnalysisDeclContext::dumpCFG(bool ShowColors) { in dumpCFG() argument
276 getCFG()->dump(getASTContext().getLangOpts(), ShowColors); in dumpCFG()
/llvm-project-15.0.7/flang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp162 flang->getDiagnosticOpts().ShowColors = flang->getFrontendOpts().showColors; in executeCompilerInvocation()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCompiler.cpp51 CI.getDiagnosticOpts().ShowColors = false; in disableUnsupportedOptions()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnostic.h272 bool ShowColors = false; variable
707 void setShowColors(bool Val) { ShowColors = Val; } in setShowColors()
708 bool getShowColors() { return ShowColors; } in getShowColors()
1827 unsigned ShowColors : 1; member
H A DDiagnosticOptions.def68 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
/llvm-project-15.0.7/clang/lib/Basic/
H A DWarnings.cpp53 Diags.setShowColors(Opts.ShowColors); in ProcessWarningOptions()
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DFlang.cpp117 if (D.getDiags().getDiagnosticOptions().ShowColors) in ConstructJob()
/llvm-project-15.0.7/clang/tools/clang-format/
H A DClangFormat.cpp191 ShowColors("fcolor-diagnostics", variable
359 Diag.print(nullptr, llvm::errs(), (ShowColors && !NoShowColors)); in emitReplacementWarnings()
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DCFG.h1081 void dump(const CFG *cfg, const LangOptions &LO, bool ShowColors = false) const;
1083 bool ShowColors) const;
1430 void print(raw_ostream &OS, const LangOptions &LO, bool ShowColors) const;
1431 void dump(const LangOptions &LO, bool ShowColors) const;

12