/openbsd/gnu/llvm/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);
|
/openbsd/gnu/llvm/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 | 29 ColorScope Color(OS, ShowColors, NullColor); in dumpInvalidDeclContext() 40 ColorScope Color(OS, ShowColors, DeclKindNameColor); in dumpInvalidDeclContext() 46 ColorScope Color(OS, ShowColors, DeclNameColor); in dumpInvalidDeclContext() 76 ColorScope Color(OS, ShowColors, DeclNameColor); in dumpLookups() 105 ColorScope Color(OS, ShowColors, UndeserializedColor); in dumpLookups()
|
H A D | ASTDiagnostic.cpp | 353 bool ShowColors, raw_ostream &OS); 410 TDT.ShowColors, OS)) { in FormatASTNodeDiagnosticArgument() 2134 bool ShowColors, raw_ostream &OS) { in FormatTemplateTypeDiff() argument 2138 ElideType, ShowColors); in FormatTemplateTypeDiff()
|
/openbsd/gnu/llvm/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() 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() [all …]
|
/openbsd/gnu/llvm/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() 1255 if (DiagOpts->ShowColors) in emitSnippetAndCaret() 1258 if (DiagOpts->ShowColors) in emitSnippetAndCaret() 1263 if (DiagOpts->ShowColors) in emitSnippetAndCaret() 1269 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()
|
H A D | CompilerInvocation.cpp | 2178 } ShowColors = DefaultColor ? Colors_Auto : Colors_Off; in parseShowColorsArgs() local 2182 ShowColors = Colors_On; in parseShowColorsArgs() 2184 ShowColors = Colors_Off; in parseShowColorsArgs() 2188 ShowColors = Colors_On; in parseShowColorsArgs() 2190 ShowColors = Colors_Off; in parseShowColorsArgs() 2192 ShowColors = Colors_Auto; in parseShowColorsArgs() 2195 return ShowColors == Colors_On || in parseShowColorsArgs() 2196 (ShowColors == Colors_Auto && in parseShowColorsArgs() 2310 if (Opts.ShowColors) in GenerateDiagnosticArgs() 2402 Opts.ShowColors = parseShowColorsArgs(Args, DefaultDiagColor); in ParseDiagnosticArgs()
|
/openbsd/gnu/llvm/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,
|
/openbsd/gnu/llvm/clang/include/clang/Frontend/ |
H A D | TextDiagnostic.h | 53 bool ShowColors); 73 unsigned Columns, bool ShowColors);
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/clang/lib/Analysis/ |
H A D | CFG.cpp | 5913 if (ShowColors) in print_block() 5929 if (ShowColors) in print_block() 5992 if (ShowColors) in print_block() 6004 if (ShowColors) in print_block() 6012 if (ShowColors) in print_block() 6015 if (ShowColors) in print_block() 6020 if (ShowColors) in print_block() 6040 if (ShowColors) in print_block() 6049 if (ShowColors) in print_block() 6052 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()
|
/openbsd/gnu/llvm/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() 1828 unsigned ShowColors : 1; member
|
H A D | DiagnosticOptions.def | 68 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
|
/openbsd/gnu/llvm/clang/lib/Basic/ |
H A D | Warnings.cpp | 53 Diags.setShowColors(Opts.ShowColors); in ProcessWarningOptions()
|
/openbsd/gnu/llvm/clang/tools/clang-format/ |
H A D | ClangFormat.cpp | 192 ShowColors("fcolor-diagnostics", variable 360 Diag.print(nullptr, llvm::errs(), (ShowColors && !NoShowColors)); in emitReplacementWarnings()
|
/openbsd/gnu/llvm/clang/include/clang/Analysis/ |
H A D | CFG.h | 1080 void dump(const CFG *cfg, const LangOptions &LO, bool ShowColors = false) const; 1082 bool ShowColors) const; 1429 void print(raw_ostream &OS, const LangOptions &LO, bool ShowColors) const; 1430 void dump(const LangOptions &LO, bool ShowColors) const;
|
H A D | AnalysisDeclContext.h | 161 void dumpCFG(bool ShowColors);
|
/openbsd/gnu/llvm/clang/lib/Driver/ToolChains/ |
H A D | Flang.cpp | 294 if (D.getDiags().getDiagnosticOptions().ShowColors) in ConstructJob()
|