| /freebsd-14.2/contrib/llvm-project/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);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | TextNodeDumper.cpp | 62 bool ShowColors) in TextNodeDumper() argument 63 : TextTreeStructure(OS, ShowColors), OS(OS), ShowColors(ShowColors), in TextNodeDumper() 69 : TextTreeStructure(OS, ShowColors), OS(OS), ShowColors(ShowColors) {} in TextNodeDumper() 74 ColorScope Color(OS, ShowColors, NullColor); in Visit() 92 ColorScope Color(OS, ShowColors, AttrColor); in Visit() 127 ColorScope Color(OS, ShowColors, NullColor); in Visit() 132 ColorScope Color(OS, ShowColors, StmtColor); in Visit() 189 ColorScope Color(OS, ShowColors, NullColor); in Visit() 203 ColorScope Color(OS, ShowColors, TypeColor); in Visit() 245 ColorScope Color(OS, ShowColors, NullColor); in Visit() [all …]
|
| H A D | ASTDumper.cpp | 30 ColorScope Color(OS, ShowColors, NullColor); in dumpInvalidDeclContext() 41 ColorScope Color(OS, ShowColors, DeclKindNameColor); in dumpInvalidDeclContext() 47 ColorScope Color(OS, ShowColors, DeclNameColor); in dumpInvalidDeclContext() 77 ColorScope Color(OS, ShowColors, DeclNameColor); in dumpLookups() 106 ColorScope Color(OS, ShowColors, UndeserializedColor); in dumpLookups()
|
| H A D | ASTDiagnostic.cpp | 354 bool ShowColors, raw_ostream &OS); 411 TDT.ShowColors, OS)) { in FormatASTNodeDiagnosticArgument() 2136 bool ShowColors, raw_ostream &OS) { in FormatTemplateTypeDiff() argument 2140 ElideType, ShowColors); in FormatTemplateTypeDiff()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 336 bool ShowColors) const { in PrintMessage() 349 Diagnostic.print(nullptr, OS, ShowColors); in PrintMessage() 355 bool ShowColors) const { in PrintMessage() 356 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); in PrintMessage() 362 PrintMessage(errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); in PrintMessage() 486 ColorMode Mode = ShowColors ? ColorMode::Auto : ColorMode::Disable; in print() 512 WithColor::error(OS, "", !ShowColors); in print() 515 WithColor::warning(OS, "", !ShowColors); in print() 518 WithColor::note(OS, "", !ShowColors); in print() 521 WithColor::remark(OS, "", !ShowColors); in print() [all …]
|
| H A D | YAMLParser.cpp | 249 Scanner(StringRef Input, SourceMgr &SM, bool ShowColors = true, 251 Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors = true, 263 ShowColors); in printError() 560 bool ShowColors; member in llvm::yaml::Scanner 857 Scanner::Scanner(StringRef Input, SourceMgr &sm, bool ShowColors, in Scanner() argument 859 : SM(sm), ShowColors(ShowColors), EC(EC) { in Scanner() 863 Scanner::Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors, in Scanner() argument 865 : SM(SM_), ShowColors(ShowColors), EC(EC) { in Scanner() 1915 Stream::Stream(StringRef Input, SourceMgr &SM, bool ShowColors, in Stream() argument 1917 : scanner(new Scanner(Input, SM, ShowColors, EC)) {} in Stream() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | Logger.cpp | 29 bool ShowColors; member 34 : OS(OS), ShowColors(llvm::WithColor::defaultAutoDetectFunction()(OS)) {} in TextualLogger() 47 CurrentCFG->print(OS, Analysis.getASTContext().getLangOpts(), ShowColors); in beginAnalysis() 72 ShowColors); in enterBlock()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 664 if (DiagOpts->ShowColors) in emitDiagnosticMessage() 679 if (ShowColors) { in printDiagnosticLevel() 702 if (ShowColors) in printDiagnosticLevel() 728 if (ShowColors) in printDiagnosticMessage() 793 if (DiagOpts->ShowColors) in emitDiagnosticLoc() 1254 if (DiagOpts->ShowColors) in emitSnippetAndCaret() 1257 if (DiagOpts->ShowColors) in emitSnippetAndCaret() 1263 if (DiagOpts->ShowColors) in emitSnippetAndCaret() 1269 if (DiagOpts->ShowColors) in emitSnippetAndCaret() 1296 if (DiagOpts->ShowColors) { in emitSnippet() [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()
|
| H A D | CompilerInvocation.cpp | 2271 } ShowColors = DefaultColor ? Colors_Auto : Colors_Off; in parseShowColorsArgs() local 2275 ShowColors = Colors_On; in parseShowColorsArgs() 2277 ShowColors = Colors_Off; in parseShowColorsArgs() 2281 ShowColors = Colors_On; in parseShowColorsArgs() 2283 ShowColors = Colors_Off; in parseShowColorsArgs() 2285 ShowColors = Colors_Auto; in parseShowColorsArgs() 2288 return ShowColors == Colors_On || in parseShowColorsArgs() 2289 (ShowColors == Colors_Auto && in parseShowColorsArgs() 2371 if (Opts.ShowColors) in GenerateDiagnosticArgs() 2425 bool ShowColors = true; in CreateAndPopulateDiagOpts() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/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 | 89 Stream(StringRef Input, SourceMgr &, bool ShowColors = true, 92 Stream(MemoryBufferRef InputBuffer, SourceMgr &, bool ShowColors = true,
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | TextDiagnostic.h | 53 bool ShowColors); 73 unsigned Columns, bool ShowColors);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 5928 if (ShowColors) in print_block() 5944 if (ShowColors) in print_block() 6007 if (ShowColors) in print_block() 6019 if (ShowColors) in print_block() 6027 if (ShowColors) in print_block() 6030 if (ShowColors) in print_block() 6035 if (ShowColors) in print_block() 6055 if (ShowColors) in print_block() 6064 if (ShowColors) in print_block() 6067 if (ShowColors) in print_block() [all …]
|
| H A D | AnalysisDeclContext.cpp | 274 void AnalysisDeclContext::dumpCFG(bool ShowColors) { in dumpCFG() argument 275 getCFG()->dump(getASTContext().getLangOpts(), ShowColors); in dumpCFG()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 272 bool ShowColors = false; variable 712 void setShowColors(bool Val) { ShowColors = Val; } in setShowColors() 713 bool getShowColors() { return ShowColors; } in getShowColors() 1837 unsigned ShowColors : 1;
|
| H A D | DiagnosticOptions.def | 68 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Warnings.cpp | 53 Diags.setShowColors(Opts.ShowColors); in ProcessWarningOptions()
|
| H A D | Diagnostic.cpp | 1073 TDT.ShowColors = getDiags()->ShowColors; in FormatDiagnostic()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | CFG.h | 1108 void dump(const CFG *cfg, const LangOptions &LO, bool ShowColors = false) const; 1110 bool ShowColors) const; 1417 void print(raw_ostream &OS, const LangOptions &LO, bool ShowColors) const; 1418 void dump(const LangOptions &LO, bool ShowColors) const;
|
| H A D | AnalysisDeclContext.h | 161 void dumpCFG(bool ShowColors);
|
| /freebsd-14.2/contrib/llvm-project/clang/tools/clang-format/ |
| H A D | ClangFormat.cpp | 193 ShowColors("fcolor-diagnostics", variable 361 Diag.print(nullptr, llvm::errs(), (ShowColors && !NoShowColors)); in emitReplacementWarnings()
|