Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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.h34 const bool ShowColors; variable
88 ColorScope Color(OS, ShowColors, IndentColor); in AddChild()
122 TextTreeStructure(raw_ostream &OS, bool ShowColors) in TextTreeStructure() argument
123 : OS(OS), ShowColors(ShowColors) {} in TextTreeStructure()
136 const bool ShowColors; variable
165 TextNodeDumper(raw_ostream &OS, const ASTContext &Context, bool ShowColors);
166 TextNodeDumper(raw_ostream &OS, bool ShowColors);
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DTextNodeDumper.cpp60 bool ShowColors) in TextNodeDumper() argument
61 : TextTreeStructure(OS, ShowColors), OS(OS), ShowColors(ShowColors), in TextNodeDumper()
66 TextNodeDumper::TextNodeDumper(raw_ostream &OS, bool ShowColors) in TextNodeDumper() argument
67 : TextTreeStructure(OS, ShowColors), OS(OS), ShowColors(ShowColors) {} in TextNodeDumper()
72 ColorScope Color(OS, ShowColors, NullColor); in Visit()
78 ColorScope Color(OS, ShowColors, CommentColor); in Visit()
90 ColorScope Color(OS, ShowColors, AttrColor); in Visit()
125 ColorScope Color(OS, ShowColors, NullColor); in Visit()
130 ColorScope Color(OS, ShowColors, StmtColor); in Visit()
140 ColorScope Color(OS, ShowColors, ErrorsColor); in Visit()
[all …]
H A DASTDumper.cpp48 ColorScope Color(OS, ShowColors, DeclNameColor); in dumpLookups()
77 ColorScope Color(OS, ShowColors, UndeserializedColor); in dumpLookups()
H A DASTDiagnostic.cpp321 bool ShowColors, raw_ostream &OS);
378 TDT.ShowColors, OS)) { in FormatASTNodeDiagnosticArgument()
2083 bool ShowColors, raw_ostream &OS) { in FormatTemplateTypeDiff() argument
2087 ElideType, ShowColors); in FormatTemplateTypeDiff()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DSourceMgr.cpp325 bool ShowColors) const { in PrintMessage()
338 Diagnostic.print(nullptr, OS, ShowColors); in PrintMessage()
344 bool ShowColors) const { in PrintMessage()
345 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); in PrintMessage()
350 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage()
351 PrintMessage(errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); in PrintMessage()
473 void SMDiagnostic::print(const char *ProgName, raw_ostream &OS, bool ShowColors, in print() argument
475 ColorMode Mode = ShowColors ? ColorMode::Auto : ColorMode::Disable; in print()
501 WithColor::error(OS, "", !ShowColors); in print()
504 WithColor::warning(OS, "", !ShowColors); in print()
[all …]
H A DYAMLParser.cpp251 Scanner(StringRef Input, SourceMgr &SM, bool ShowColors = true,
253 Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors = true,
264 SM.PrintMessage(Loc, Kind, Message, Ranges, /* FixIts= */ None, ShowColors); in printError()
538 bool ShowColors; member in llvm::yaml::Scanner
835 Scanner::Scanner(StringRef Input, SourceMgr &sm, bool ShowColors, in Scanner() argument
837 : SM(sm), ShowColors(ShowColors), EC(EC) { in Scanner()
841 Scanner::Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors, in Scanner() argument
843 : SM(SM_), ShowColors(ShowColors), EC(EC) { in Scanner()
1842 Stream::Stream(StringRef Input, SourceMgr &SM, bool ShowColors, in Stream() argument
1844 : scanner(new Scanner(Input, SM, ShowColors, EC)), CurrentDoc() {} in Stream()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DTextDiagnostic.cpp683 if (DiagOpts->ShowColors) in emitDiagnosticMessage()
687 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors); in emitDiagnosticMessage()
691 DiagOpts->MessageLength, DiagOpts->ShowColors); in emitDiagnosticMessage()
697 bool ShowColors) { in printDiagnosticLevel() argument
698 if (ShowColors) { in printDiagnosticLevel()
721 if (ShowColors) in printDiagnosticLevel()
730 unsigned Columns, bool ShowColors) { in printDiagnosticMessage() argument
732 if (ShowColors && !IsSupplemental) { in printDiagnosticMessage()
747 if (ShowColors) in printDiagnosticMessage()
814 if (DiagOpts->ShowColors) in emitDiagnosticLoc()
[all …]
H A DASTConsumers.cpp57 bool ShowColors = Out.has_colors(); in TraverseDecl() local
58 if (ShowColors) in TraverseDecl()
62 if (ShowColors) in TraverseDecl()
H A DTextDiagnosticPrinter.cpp136 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors); in HandleDiagnostic()
140 DiagOpts->MessageLength, DiagOpts->ShowColors); in HandleDiagnostic()
H A DCompilerInvocation.cpp2080 } ShowColors = DefaultColor ? Colors_Auto : Colors_Off; in parseShowColorsArgs() local
2085 ShowColors = Colors_On; in parseShowColorsArgs()
2088 ShowColors = Colors_Off; in parseShowColorsArgs()
2092 ShowColors = Colors_On; in parseShowColorsArgs()
2094 ShowColors = Colors_Off; in parseShowColorsArgs()
2096 ShowColors = Colors_Auto; in parseShowColorsArgs()
2099 return ShowColors == Colors_On || in parseShowColorsArgs()
2100 (ShowColors == Colors_Auto && in parseShowColorsArgs()
2214 if (Opts.ShowColors) in GenerateDiagnosticArgs()
2293 Opts.ShowColors = parseShowColorsArgs(Args, DefaultDiagColor); in ParseDiagnosticArgs()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DSourceMgr.h192 bool ShowColors = true) const;
198 bool ShowColors = true) const;
205 bool ShowColors = true) const;
289 void print(const char *ProgName, raw_ostream &S, bool ShowColors = true,
H A DYAMLParser.h89 Stream(StringRef Input, SourceMgr &, bool ShowColors = true,
92 Stream(MemoryBufferRef InputBuffer, SourceMgr &, bool ShowColors = true,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DTextDiagnostic.h53 bool ShowColors);
73 unsigned Columns, bool ShowColors);
/netbsd-src/external/apache2/llvm/dist/llvm/utils/yaml-bench/
H A DYAMLBench.cpp198 bool ShowColors = UseColor == cl::BOU_UNSET in main() local
214 yaml::Stream stream(Buf.getBuffer(), sm, ShowColors); in main()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCFG.cpp5617 bool ShowColors) { in print_block() argument
5621 if (ShowColors) in print_block()
5637 if (ShowColors) in print_block()
5696 if (ShowColors) in print_block()
5708 if (ShowColors) in print_block()
5716 if (ShowColors) in print_block()
5719 if (ShowColors) in print_block()
5724 if (ShowColors) in print_block()
5744 if (ShowColors) in print_block()
5753 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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DDiagnostic.h271 bool ShowColors = false; variable
705 void setShowColors(bool Val) { ShowColors = Val; } in setShowColors()
706 bool getShowColors() { return ShowColors; } in getShowColors()
1795 unsigned ShowColors : 1; member
H A DDiagnosticOptions.def68 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-format/
H A DClangFormat.cpp165 ShowColors("fcolor-diagnostics", variable
329 Diag.print(nullptr, llvm::errs(), (ShowColors && !NoShowColors)); in emitReplacementWarnings()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DWarnings.cpp53 Diags.setShowColors(Opts.ShowColors); in ProcessWarningOptions()
H A DDiagnostic.cpp1020 TDT.ShowColors = getDiags()->ShowColors; in FormatDiagnostic()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DCFG.h1080 void dump(const CFG *cfg, const LangOptions &LO, bool ShowColors = false) const;
1082 bool ShowColors) const;
1424 void print(raw_ostream &OS, const LangOptions &LO, bool ShowColors) const;
1425 void dump(const LangOptions &LO, bool ShowColors) const;
H A DAnalysisDeclContext.h161 void dumpCFG(bool ShowColors);

12