Home
last modified time | relevance | path

Searched refs:ShowColors (Results 1 – 25 of 26) 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.cpp63 bool ShowColors) in TextNodeDumper() argument
64 : TextTreeStructure(OS, ShowColors), OS(OS), ShowColors(ShowColors), in TextNodeDumper()
69 TextNodeDumper::TextNodeDumper(raw_ostream &OS, bool ShowColors) in TextNodeDumper() argument
70 : TextTreeStructure(OS, ShowColors), OS(OS), ShowColors(ShowColors) {} in TextNodeDumper()
75 ColorScope Color(OS, ShowColors, NullColor); in Visit()
81 ColorScope Color(OS, ShowColors, CommentColor); in Visit()
93 ColorScope Color(OS, ShowColors, AttrColor); in Visit()
128 ColorScope Color(OS, ShowColors, NullColor); in Visit()
133 ColorScope Color(OS, ShowColors, StmtColor); in Visit()
143 ColorScope Color(OS, ShowColors, ErrorsColor); in Visit()
[all …]
H A DASTDumper.cpp29 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 DASTDiagnostic.cpp354 bool ShowColors, raw_ostream &OS);
411 TDT.ShowColors, OS)) { in FormatASTNodeDiagnosticArgument()
2163 bool ShowColors, raw_ostream &OS) { in FormatTemplateTypeDiff() argument
2167 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,
263 ShowColors); in printError()
560 bool ShowColors;
857 Scanner::Scanner(StringRef Input, SourceMgr &sm, bool ShowColors, in Scanner()
859 : SM(sm), ShowColors(ShowColors), EC(EC) { in Scanner()
863 Scanner::Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors, in init()
865 : SM(SM_), ShowColors(ShowColors), E in init()
552 bool ShowColors; global() member in llvm::yaml::Scanner
849 Scanner(StringRef Input,SourceMgr & sm,bool ShowColors,std::error_code * EC) Scanner() argument
855 Scanner(MemoryBufferRef Buffer,SourceMgr & SM_,bool ShowColors,std::error_code * EC) Scanner() argument
1898 Stream(StringRef Input,SourceMgr & SM,bool ShowColors,std::error_code * EC) Stream() argument
1902 Stream(MemoryBufferRef InputBuffer,SourceMgr & SM,bool ShowColors,std::error_code * EC) Stream() argument
[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.cpp673 if (DiagOpts->ShowColors) in emitDiagnosticMessage()
677 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors); in emitDiagnosticMessage()
681 DiagOpts->MessageLength, DiagOpts->ShowColors); in emitDiagnosticMessage()
687 bool ShowColors) { in printDiagnosticLevel() argument
688 if (ShowColors) { in printDiagnosticLevel()
711 if (ShowColors) in printDiagnosticLevel()
720 unsigned Columns, bool ShowColors) { in printDiagnosticMessage() argument
722 if (ShowColors && !IsSupplemental) { in printDiagnosticMessage()
737 if (ShowColors) in printDiagnosticMessage()
802 if (DiagOpts->ShowColors) in emitDiagnosticLoc()
[all …]
H A DASTConsumers.cpp57 bool ShowColors = Out.has_colors(); in TraverseDecl() local
58 if (ShowColors) in TraverseDecl()
65 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.cpp2344 } ShowColors = DefaultColor ? Colors_Auto : Colors_Off; in parseShowColorsArgs() local
2348 ShowColors = Colors_On; in parseShowColorsArgs()
2350 ShowColors = Colors_Off; in parseShowColorsArgs()
2354 ShowColors = Colors_On; in parseShowColorsArgs()
2356 ShowColors = Colors_Off; in parseShowColorsArgs()
2358 ShowColors = Colors_Auto; in parseShowColorsArgs()
2361 return ShowColors == Colors_On || in parseShowColorsArgs()
2362 (ShowColors == Colors_Auto && in parseShowColorsArgs()
2444 if (Opts.ShowColors) in GenerateDiagnosticArgs()
2501 bool ShowColors = true; in CreateAndPopulateDiagOpts() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h222 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 DYAMLParser.h89 Stream(StringRef Input, SourceMgr &, bool ShowColors = true,
92 Stream(MemoryBufferRef InputBuffer, SourceMgr &, bool ShowColors = true,
/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.cpp5921 bool ShowColors) { in print_block() argument
5925 if (ShowColors) in print_block()
5941 if (ShowColors) in print_block()
6004 if (ShowColors) in print_block()
6016 if (ShowColors) in print_block()
6024 if (ShowColors) in print_block()
6027 if (ShowColors) in print_block()
6032 if (ShowColors) in print_block()
6052 if (ShowColors) in print_block()
6061 if (ShowColors) in print_block()
[all …]
H A DAnalysisDeclContext.cpp274 void AnalysisDeclContext::dumpCFG(bool ShowColors) { in dumpCFG() argument
275 getCFG()->dump(getASTContext().getLangOpts(), ShowColors); in dumpCFG()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticOptions.def68 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h1111 void dump(const CFG *cfg, const LangOptions &LO, bool ShowColors = false) const;
1113 bool ShowColors) const;
1420 void print(raw_ostream &OS, const LangOptions &LO, bool ShowColors) const;
1421 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
371 Diag.print(nullptr, llvm::errs(), (ShowColors && !NoShowColors)); in emitReplacementWarnings()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp1073 TDT.ShowColors = getDiags()->ShowColors; in FormatDiagnostic()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DFlang.cpp730 if (Diags.getDiagnosticOptions().ShowColors) in ConstructJob()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp165 SMRange Range, bool ShowColors = true);
6221 SMRange Range, bool ShowColors) { in printWarningWithFixIt() argument
6224 ShowColors); in printWarningWithFixIt()

12