Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/lib/Support/
HDSourceMgr.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 …]
HDYAMLParser.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()
1771 Stream::Stream(StringRef Input, SourceMgr &SM, bool ShowColors) in Stream() argument
1772 : scanner(new Scanner(Input, SM, ShowColors)), CurrentDoc() {} in Stream()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDTextDiagnostic.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 …]
HDTextDiagnosticPrinter.cpp139 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, in HandleDiagnostic()
144 DiagOpts->ShowColors); in HandleDiagnostic()
HDASTConsumers.cpp56 bool ShowColors = Out.has_colors(); in TraverseDecl() local
57 if (ShowColors) in TraverseDecl()
61 if (ShowColors) in TraverseDecl()
HDCompilerInvocation.cpp714 Opts.ShowColors = Args.hasArg(OPT_fcolor_diagnostics); in ParseDiagnosticArgs()
/NextBSD/contrib/llvm/include/llvm/Support/
HDSourceMgr.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,
HDYAMLParser.h79 Stream(StringRef Input, SourceMgr &, bool ShowColors = true);
81 Stream(MemoryBufferRef InputBuffer, SourceMgr &, bool ShowColors = true);
/NextBSD/contrib/llvm/tools/clang/include/clang/Frontend/
HDTextDiagnostic.h54 bool ShowColors,
75 unsigned Columns, bool ShowColors);
/NextBSD/contrib/llvm/tools/clang/lib/Analysis/
HDCFG.cpp4238 bool ShowColors) { in print_block() argument
4243 if (ShowColors) in print_block()
4259 if (ShowColors) in print_block()
4316 if (ShowColors) in print_block()
4328 if (ShowColors) in print_block()
4336 if (ShowColors) in print_block()
4339 if (ShowColors) in print_block()
4344 if (ShowColors) in print_block()
4365 if (ShowColors) in print_block()
4374 if (ShowColors) in print_block()
[all …]
HDAnalysisDeclContext.cpp249 void AnalysisDeclContext::dumpCFG(bool ShowColors) { in dumpCFG() argument
250 getCFG()->dump(getASTContext().getLangOpts(), ShowColors); in dumpCFG()
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDDiagnostic.h180 bool ShowColors; // Color printing is enabled. variable
482 void setShowColors(bool Val = false) { ShowColors = Val; }
483 bool getShowColors() { return ShowColors; } in getShowColors()
1398 unsigned ShowColors : 1; member
HDDiagnosticOptions.def66 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
/NextBSD/contrib/llvm/tools/clang/include/clang/Analysis/
HDCFG.h645 void dump(const CFG *cfg, const LangOptions &LO, bool ShowColors = false) const;
647 bool ShowColors) const;
944 void print(raw_ostream &OS, const LangOptions &LO, bool ShowColors) const;
945 void dump(const LangOptions &LO, bool ShowColors) const;
HDAnalysisContext.h164 void dumpCFG(bool ShowColors);
/NextBSD/contrib/llvm/tools/clang/lib/Basic/
HDWarnings.cpp53 Diags.setShowColors(Opts.ShowColors); in ProcessWarningOptions()
HDDiagnostic.cpp75 ShowColors = false; in DiagnosticsEngine()
868 TDT.ShowColors = getDiags()->ShowColors; in FormatDiagnostic()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDASTDumper.cpp119 bool ShowColors; member in __anondc40ccbf0111::ASTDumper
191 if (Dumper.ShowColors) in ColorScope()
195 if (Dumper.ShowColors) in ~ColorScope()
205 ShowColors(SM && SM->getDiagnostics().getShowColors()) { } in ASTDumper()
208 const SourceManager *SM, bool ShowColors) in ASTDumper() argument
211 ShowColors(ShowColors) { } in ASTDumper()
HDASTDiagnostic.cpp265 bool ShowColors, raw_ostream &OS);
293 TDT.ShowColors, OS)) { in FormatASTNodeDiagnosticArgument()
1877 bool ShowColors, raw_ostream &OS) { in FormatTemplateTypeDiff() argument
1881 ElideType, ShowColors); in FormatTemplateTypeDiff()
/NextBSD/contrib/llvm/tools/clang/lib/Driver/
HDTools.cpp4757 enum { Colors_On, Colors_Off, Colors_Auto } ShowColors = Colors_Auto; in ConstructJob() local
4770 ShowColors = Colors_On; in ConstructJob()
4773 ShowColors = Colors_Off; in ConstructJob()
4778 ShowColors = Colors_On; in ConstructJob()
4780 ShowColors = Colors_Off; in ConstructJob()
4782 ShowColors = Colors_Auto; in ConstructJob()
4788 if (ShowColors == Colors_On || in ConstructJob()
4789 (ShowColors == Colors_Auto && llvm::sys::Process::StandardErrHasColors())) in ConstructJob()
/NextBSD/contrib/llvm/lib/Target/Mips/AsmParser/
HDMipsAsmParser.cpp120 SMRange Range, bool ShowColors = true);
2789 SMRange Range, bool ShowColors) { in printWarningWithFixIt() argument
2792 ShowColors); in printWarningWithFixIt()