| /freebsd/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 | 36 const bool ShowColors; variable 90 ColorScope Color(OS, ShowColors, IndentColor); in AddChild() 124 TextTreeStructure(raw_ostream &OS, bool ShowColors) in TextTreeStructure() argument 125 : OS(OS), ShowColors(ShowColors) {} in TextTreeStructure() 139 const bool ShowColors; variable 168 TextNodeDumper(raw_ostream &OS, const ASTContext &Context, bool ShowColors); 169 TextNodeDumper(raw_ostream &OS, bool ShowColors);
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | TextNodeDumper.cpp | 64 bool ShowColors) in TextNodeDumper() argument 65 : TextTreeStructure(OS, ShowColors), OS(OS), ShowColors(ShowColors), in TextNodeDumper() 70 TextNodeDumper::TextNodeDumper(raw_ostream &OS, bool ShowColors) in TextNodeDumper() argument 71 : TextTreeStructure(OS, ShowColors), OS(OS), ShowColors(ShowColors) {} in TextNodeDumper() 76 ColorScope Color(OS, ShowColors, NullColor); in Visit() 82 ColorScope Color(OS, ShowColors, CommentColor); in Visit() 94 ColorScope Color(OS, ShowColors, AttrColor); in Visit() 129 ColorScope Color(OS, ShowColors, NullColor); in Visit() 134 ColorScope Color(OS, ShowColors, StmtColor); in Visit() 144 ColorScope Color(OS, ShowColors, ErrorsColor); in Visit() [all …]
|
| H A D | ASTDumper.cpp | 28 ColorScope Color(OS, ShowColors, NullColor); in dumpInvalidDeclContext() 39 ColorScope Color(OS, ShowColors, DeclKindNameColor); in dumpInvalidDeclContext() 45 ColorScope Color(OS, ShowColors, DeclNameColor); in dumpInvalidDeclContext() 75 ColorScope Color(OS, ShowColors, DeclNameColor); in dumpLookups() 104 ColorScope Color(OS, ShowColors, UndeserializedColor); in dumpLookups()
|
| H A D | ASTDiagnostic.cpp | 354 bool ShowColors, raw_ostream &OS); 411 TDT.ShowColors, OS)) { in FormatASTNodeDiagnosticArgument() 2209 bool ShowColors, raw_ostream &OS) { in FormatTemplateTypeDiff() argument 2213 ElideType, ShowColors); in FormatTemplateTypeDiff()
|
| /freebsd/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() 361 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage() 362 PrintMessage(errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); in PrintMessage() 484 void SMDiagnostic::print(const char *ProgName, raw_ostream &OS, bool ShowColors, in print() argument 486 ColorMode Mode = ShowColors ? ColorMode::Auto : ColorMode::Disable; in print() 512 WithColor::error(OS, "", !ShowColors); in print() 515 WithColor::warning(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, 262 SM.PrintMessage(Loc, Kind, Message, Ranges, /* FixIts= */ {}, ShowColors); 559 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/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/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 671 if (DiagOpts.ShowColors) in emitDiagnosticMessage() 675 printDiagnosticLevel(OS, Level, DiagOpts.ShowColors); in emitDiagnosticMessage() 679 DiagOpts.MessageLength, DiagOpts.ShowColors); in emitDiagnosticMessage() 685 bool ShowColors) { in printDiagnosticLevel() argument 686 if (ShowColors) { in printDiagnosticLevel() 709 if (ShowColors) in printDiagnosticLevel() 718 unsigned Columns, bool ShowColors) { in printDiagnosticMessage() argument 720 if (ShowColors && !IsSupplemental) { in printDiagnosticMessage() 735 if (ShowColors) in printDiagnosticMessage() 800 if (DiagOpts.ShowColors) in emitDiagnosticLoc() [all …]
|
| H A D | TextDiagnosticPrinter.cpp | 136 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts.ShowColors); in HandleDiagnostic() 140 DiagOpts.MessageLength, DiagOpts.ShowColors); in HandleDiagnostic()
|
| H A D | ASTConsumers.cpp | 61 bool ShowColors = Out.has_colors(); in TraverseDecl() local 62 if (ShowColors) in TraverseDecl() 69 if (ShowColors) in TraverseDecl()
|
| H A D | CompilerInvocation.cpp | 2514 } ShowColors = DefaultColor ? Colors_Auto : Colors_Off; in parseShowColorsArgs() local 2518 ShowColors = Colors_On; in parseShowColorsArgs() 2520 ShowColors = Colors_Off; in parseShowColorsArgs() 2524 ShowColors = Colors_On; in parseShowColorsArgs() 2526 ShowColors = Colors_Off; in parseShowColorsArgs() 2528 ShowColors = Colors_Auto; in parseShowColorsArgs() 2531 return ShowColors == Colors_On || in parseShowColorsArgs() 2532 (ShowColors == Colors_Auto && in parseShowColorsArgs() 2614 if (Opts.ShowColors) in GenerateDiagnosticArgs() 2676 bool ShowColors = true; in CreateAndPopulateDiagOpts() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 223 bool ShowColors = true) const; 229 bool ShowColors = true) const; 236 bool ShowColors = true) const; 322 bool ShowColors = true, bool ShowKindLabel = true,
|
| H A D | YAMLParser.h | 91 LLVM_ABI Stream(StringRef Input, SourceMgr &, bool ShowColors = true, 95 bool ShowColors = true, std::error_code *EC = nullptr);
|
| /freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | TextDiagnostic.h | 62 bool ShowColors); 82 unsigned Columns, bool ShowColors);
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 6036 bool ShowColors) { in print_block() argument 6040 if (ShowColors) in print_block() 6056 if (ShowColors) in print_block() 6119 if (ShowColors) in print_block() 6131 if (ShowColors) in print_block() 6139 if (ShowColors) in print_block() 6142 if (ShowColors) in print_block() 6147 if (ShowColors) in print_block() 6167 if (ShowColors) in print_block() 6176 if (ShowColors) in print_block() [all …]
|
| H A D | AnalysisDeclContext.cpp | 272 void AnalysisDeclContext::dumpCFG(bool ShowColors) { in dumpCFG() argument 273 getCFG()->dump(getASTContext().getLangOpts(), ShowColors); in dumpCFG()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 318 bool ShowColors = false; variable 743 void setShowColors(bool Val) { ShowColors = Val; } in setShowColors() 744 bool getShowColors() { return ShowColors; } in getShowColors() 1807 unsigned ShowColors : 1;
|
| H A D | DiagnosticOptions.def | 68 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Warnings.cpp | 56 Diags.setShowColors(Opts.ShowColors); in ProcessWarningOptions()
|
| H A D | Diagnostic.cpp | 1363 TDT.ShowColors = getDiags()->ShowColors; in FormatDiagnostic()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | CFG.h | 1117 void dump(const CFG *cfg, const LangOptions &LO, bool ShowColors = false) const; 1119 bool ShowColors) const; 1427 void print(raw_ostream &OS, const LangOptions &LO, bool ShowColors) const; 1428 void dump(const LangOptions &LO, bool ShowColors) const;
|
| H A D | AnalysisDeclContext.h | 161 void dumpCFG(bool ShowColors);
|
| /freebsd/contrib/llvm-project/clang/tools/clang-format/ |
| H A D | ClangFormat.cpp | 193 ShowColors("fcolor-diagnostics", variable 364 Diag.print(nullptr, llvm::errs(), ShowColors && !NoShowColors); in emitReplacementWarnings()
|