| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTDumper.h | 24 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 D | ASTDumperUtils.h | 88 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 D | TextNodeDumper.h | 35 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 D | TextNodeDumper.cpp | 61 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 D | ASTDumper.cpp | 48 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 D | SourceMgr.cpp | 332 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 D | YAMLParser.cpp | 250 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 D | TextDiagnostic.cpp | 683 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 D | ASTConsumers.cpp | 57 bool ShowColors = Out.has_colors(); in TraverseDecl() local 58 if (ShowColors) in TraverseDecl() 65 if (ShowColors) in TraverseDecl()
|
| H A D | TextDiagnosticPrinter.cpp | 136 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 D | TextDiagnosticPrinter.cpp | 52 diagOpts->ShowColors); in HandleDiagnostic() 56 diagMessageStream.str(), diagOpts->ShowColors); in HandleDiagnostic()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 222 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 D | YAMLParser.h | 88 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 D | TextDiagnostic.h | 53 bool ShowColors); 73 unsigned Columns, bool ShowColors);
|
| /llvm-project-15.0.7/llvm/utils/yaml-bench/ |
| H A D | YAMLBench.cpp | 196 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 D | CFG.cpp | 5843 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 D | AnalysisDeclContext.cpp | 275 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 D | ExecuteCompilerInvocation.cpp | 162 flang->getDiagnosticOpts().ShowColors = flang->getFrontendOpts().showColors; in executeCompilerInvocation()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Compiler.cpp | 51 CI.getDiagnosticOpts().ShowColors = false; in disableUnsupportedOptions()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 272 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 D | DiagnosticOptions.def | 68 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | Warnings.cpp | 53 Diags.setShowColors(Opts.ShowColors); in ProcessWarningOptions()
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | Flang.cpp | 117 if (D.getDiags().getDiagnosticOptions().ShowColors) in ConstructJob()
|
| /llvm-project-15.0.7/clang/tools/clang-format/ |
| H A D | ClangFormat.cpp | 191 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 D | CFG.h | 1081 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;
|