Home
last modified time | relevance | path

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

12

/external/llvm/lib/Support/
DSourceMgr.cpp199 bool ShowColors) const { in PrintMessage()
212 Diagnostic.print(nullptr, OS, ShowColors); in PrintMessage()
218 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage()
219 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); in PrintMessage()
224 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage()
225 PrintMessage(llvm::errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); in PrintMessage()
335 void SMDiagnostic::print(const char *ProgName, raw_ostream &S, bool ShowColors, in print() argument
338 ShowColors &= S.has_colors(); in print()
340 if (ShowColors) in print()
363 if (ShowColors) in print()
[all …]
DYAMLParser.cpp268 Scanner(StringRef Input, SourceMgr &SM, bool ShowColors = true);
269 Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors = true);
279 SM.PrintMessage(Loc, Kind, Message, Ranges, /* FixIts= */ None, ShowColors); in printError()
555 bool ShowColors; member in llvm::yaml::Scanner
761 Scanner::Scanner(StringRef Input, SourceMgr &sm, bool ShowColors) in Scanner() argument
762 : SM(sm), ShowColors(ShowColors) { in Scanner()
766 Scanner::Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors) in Scanner() argument
767 : SM(SM_), ShowColors(ShowColors) { in Scanner()
1769 Stream::Stream(StringRef Input, SourceMgr &SM, bool ShowColors) in Stream() argument
1770 : scanner(new Scanner(Input, SM, ShowColors)), CurrentDoc() {} in Stream()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DSourceMgr.cpp231 bool ShowColors) const { in PrintMessage()
244 Diagnostic.print(nullptr, OS, ShowColors); in PrintMessage()
250 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage()
251 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); in PrintMessage()
256 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage()
257 PrintMessage(errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); in PrintMessage()
367 void SMDiagnostic::print(const char *ProgName, raw_ostream &S, bool ShowColors, in print() argument
370 ShowColors &= S.has_colors(); in print()
372 if (ShowColors) in print()
395 if (ShowColors) in print()
[all …]
DYAMLParser.cpp255 Scanner(StringRef Input, SourceMgr &SM, bool ShowColors = true,
257 Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors = true,
268 SM.PrintMessage(Loc, Kind, Message, Ranges, /* FixIts= */ None, ShowColors); in printError()
546 bool ShowColors; member in llvm::yaml::Scanner
757 Scanner::Scanner(StringRef Input, SourceMgr &sm, bool ShowColors, in Scanner() argument
759 : SM(sm), ShowColors(ShowColors), EC(EC) { in Scanner()
763 Scanner::Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors, in Scanner() argument
765 : SM(SM_), ShowColors(ShowColors), EC(EC) { in Scanner()
1763 Stream::Stream(StringRef Input, SourceMgr &SM, bool ShowColors, in Stream() argument
1765 : scanner(new Scanner(Input, SM, ShowColors, EC)), CurrentDoc() {} in Stream()
[all …]
/external/clang/tools/diagtool/
DTreeView.cpp35 const bool ShowColors; member in TreePrinter
39 : out(out), ShowColors(hasColors(out)), FlagsOnly(false) {} in TreePrinter()
42 if (ShowColors) in setColor()
47 if (ShowColors) in resetColor()
76 if (ShowColors && !isIgnored(I->DiagID)) in printGroup()
132 if (ShowColors) { in showKey()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp688 if (DiagOpts->ShowColors) in emitDiagnosticMessage()
691 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, in emitDiagnosticMessage()
696 DiagOpts->MessageLength, DiagOpts->ShowColors); in emitDiagnosticMessage()
702 bool ShowColors, in printDiagnosticLevel() argument
704 if (ShowColors) { in printDiagnosticLevel()
736 if (ShowColors) in printDiagnosticLevel()
745 unsigned Columns, bool ShowColors) { in printDiagnosticMessage() argument
747 if (ShowColors && !IsSupplemental) { in printDiagnosticMessage()
762 if (ShowColors) in printDiagnosticMessage()
796 if (DiagOpts->ShowColors) in emitDiagnosticLoc()
[all …]
DTextDiagnosticPrinter.cpp139 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, in HandleDiagnostic()
144 DiagOpts->ShowColors); in HandleDiagnostic()
DASTConsumers.cpp56 bool ShowColors = Out.has_colors(); in TraverseDecl() local
57 if (ShowColors) in TraverseDecl()
61 if (ShowColors) in TraverseDecl()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSourceMgr.h160 bool ShowColors = true) const;
166 bool ShowColors = true) const;
173 bool ShowColors = true) const;
274 void print(const char *ProgName, raw_ostream &S, bool ShowColors = true,
DYAMLParser.h79 Stream(StringRef Input, SourceMgr &, bool ShowColors = true,
82 Stream(MemoryBufferRef InputBuffer, SourceMgr &, bool ShowColors = true,
/external/llvm/include/llvm/Support/
DSourceMgr.h165 bool ShowColors = true) const;
171 bool ShowColors = true) const;
178 bool ShowColors = true) const;
279 void print(const char *ProgName, raw_ostream &S, bool ShowColors = true,
DYAMLParser.h78 Stream(StringRef Input, SourceMgr &, bool ShowColors = true);
80 Stream(MemoryBufferRef InputBuffer, SourceMgr &, bool ShowColors = true);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DSourceMgr.h194 bool ShowColors = true) const;
200 bool ShowColors = true) const;
207 bool ShowColors = true) const;
303 void print(const char *ProgName, raw_ostream &S, bool ShowColors = true,
DYAMLParser.h87 Stream(StringRef Input, SourceMgr &, bool ShowColors = true,
90 Stream(MemoryBufferRef InputBuffer, SourceMgr &, bool ShowColors = true,
/external/clang/include/clang/Frontend/
DTextDiagnostic.h54 bool ShowColors,
75 unsigned Columns, bool ShowColors);
/external/clang/lib/Analysis/
DCFG.cpp4337 bool ShowColors) { in print_block() argument
4342 if (ShowColors) in print_block()
4358 if (ShowColors) in print_block()
4415 if (ShowColors) in print_block()
4427 if (ShowColors) in print_block()
4435 if (ShowColors) in print_block()
4438 if (ShowColors) in print_block()
4443 if (ShowColors) in print_block()
4464 if (ShowColors) in print_block()
4473 if (ShowColors) in print_block()
[all …]
DAnalysisDeclContext.cpp276 void AnalysisDeclContext::dumpCFG(bool ShowColors) { in dumpCFG() argument
277 getCFG()->dump(getASTContext().getLangOpts(), ShowColors); in dumpCFG()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/yaml-bench/
DYAMLBench.cpp199 bool ShowColors = UseColor == cl::BOU_UNSET in main() local
215 yaml::Stream stream(Buf.getBuffer(), sm, ShowColors); in main()
/external/llvm/utils/yaml-bench/
DYAMLBench.cpp197 bool ShowColors = UseColor == cl::BOU_UNSET in main() local
213 yaml::Stream stream(Buf.getBuffer(), sm, ShowColors); in main()
/external/clang/include/clang/Basic/
DDiagnostic.h181 bool ShowColors; // Color printing is enabled. variable
489 void setShowColors(bool Val = false) { ShowColors = Val; }
490 bool getShowColors() { return ShowColors; } in getShowColors()
1403 unsigned ShowColors : 1; member
DDiagnosticOptions.def66 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
/external/clang/include/clang/Analysis/
DCFG.h644 void dump(const CFG *cfg, const LangOptions &LO, bool ShowColors = false) const;
646 bool ShowColors) const;
943 void print(raw_ostream &OS, const LangOptions &LO, bool ShowColors) const;
944 void dump(const LangOptions &LO, bool ShowColors) const;
/external/clang/lib/Basic/
DWarnings.cpp53 Diags.setShowColors(Opts.ShowColors); in ProcessWarningOptions()
DDiagnostic.cpp76 ShowColors = false; in DiagnosticsEngine()
869 TDT.ShowColors = getDiags()->ShowColors; in FormatDiagnostic()
/external/clang/lib/AST/
DASTDumper.cpp122 bool ShowColors; member in __anona58a3af10111::ASTDumper
194 if (Dumper.ShowColors) in ColorScope()
198 if (Dumper.ShowColors) in ~ColorScope()
208 ShowColors(SM && SM->getDiagnostics().getShowColors()) { } in ASTDumper()
211 const SourceManager *SM, bool ShowColors) in ASTDumper() argument
214 ShowColors(ShowColors) { } in ASTDumper()

12