Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/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.h36 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 DTextNodeDumper.cpp64 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 DASTDumper.cpp28 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 DASTDiagnostic.cpp354 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 DSourceMgr.cpp336 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 DYAMLParser.cpp249 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 DLogger.cpp29 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 DTextDiagnostic.cpp671 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 DTextDiagnosticPrinter.cpp136 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts.ShowColors); in HandleDiagnostic()
140 DiagOpts.MessageLength, DiagOpts.ShowColors); in HandleDiagnostic()
H A DASTConsumers.cpp61 bool ShowColors = Out.has_colors(); in TraverseDecl() local
62 if (ShowColors) in TraverseDecl()
69 if (ShowColors) in TraverseDecl()
H A DCompilerInvocation.cpp2514 } 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 DSourceMgr.h223 bool ShowColors = true) const;
229 bool ShowColors = true) const;
236 bool ShowColors = true) const;
322 bool ShowColors = true, bool ShowKindLabel = true,
H A DYAMLParser.h91 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 DTextDiagnostic.h62 bool ShowColors);
82 unsigned Columns, bool ShowColors);
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp6036 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 DAnalysisDeclContext.cpp272 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 DDiagnostic.h318 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 DDiagnosticOptions.def68 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DWarnings.cpp56 Diags.setShowColors(Opts.ShowColors); in ProcessWarningOptions()
H A DDiagnostic.cpp1363 TDT.ShowColors = getDiags()->ShowColors; in FormatDiagnostic()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h1117 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 DAnalysisDeclContext.h161 void dumpCFG(bool ShowColors);
/freebsd/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp193 ShowColors("fcolor-diagnostics", variable
364 Diag.print(nullptr, llvm::errs(), ShowColors && !NoShowColors); in emitReplacementWarnings()

12