Home
last modified time | relevance | path

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

123

/external/llvm-project/clang/include/clang/AST/
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()
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()
DTextNodeDumper.h34 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()
138 const bool ShowColors; variable
167 TextNodeDumper(raw_ostream &OS, const ASTContext &Context, bool ShowColors);
168 TextNodeDumper(raw_ostream &OS, bool ShowColors);
/external/llvm-project/flang/lib/Frontend/
DCompilerInvocation.cpp49 } ShowColors = defaultColor ? Colors_Auto : Colors_Off; in parseShowColorsArgs() local
55 ShowColors = Colors_On; in parseShowColorsArgs()
58 ShowColors = Colors_Off; in parseShowColorsArgs()
62 ShowColors = Colors_On; in parseShowColorsArgs()
64 ShowColors = Colors_Off; in parseShowColorsArgs()
66 ShowColors = Colors_Auto; in parseShowColorsArgs()
70 return ShowColors == Colors_On || in parseShowColorsArgs()
71 (ShowColors == Colors_Auto && llvm::sys::Process::StandardErrHasColors()); in parseShowColorsArgs()
76 opts.ShowColors = parseShowColorsArgs(args, defaultDiagColor); in ParseDiagnosticArgs()
DTextDiagnosticPrinter.cpp48 os_, level, diagOpts_->ShowColors); in HandleDiagnostic()
51 DiagMessageStream.str(), diagOpts_->ShowColors); in HandleDiagnostic()
/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/llvm-project/clang/lib/AST/
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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSourceMgr.cpp226 bool ShowColors) const { in PrintMessage()
239 Diagnostic.print(nullptr, OS, ShowColors); in PrintMessage()
245 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage()
246 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); in PrintMessage()
251 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage()
252 PrintMessage(errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); in PrintMessage()
369 bool ShowColors, bool ShowKindLabel) const { in print() argument
371 WithColor S(OS, raw_ostream::SAVEDCOLOR, true, false, !ShowColors); in print()
394 WithColor::error(OS, "", !ShowColors); in print()
397 WithColor::warning(OS, "", !ShowColors); in print()
[all …]
DYAMLParser.cpp254 Scanner(StringRef Input, SourceMgr &SM, bool ShowColors = true,
256 Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors = true,
267 SM.PrintMessage(Loc, Kind, Message, Ranges, /* FixIts= */ None, ShowColors); in printError()
545 bool ShowColors; member in llvm::yaml::Scanner
756 Scanner::Scanner(StringRef Input, SourceMgr &sm, bool ShowColors, in Scanner() argument
758 : SM(sm), ShowColors(ShowColors), EC(EC) { in Scanner()
762 Scanner::Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors, in Scanner() argument
764 : SM(SM_), ShowColors(ShowColors), EC(EC) { in Scanner()
1770 Stream::Stream(StringRef Input, SourceMgr &SM, bool ShowColors, in Stream() argument
1772 : 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/llvm-project/llvm/lib/Support/
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()
475 void SMDiagnostic::print(const char *ProgName, raw_ostream &OS, bool ShowColors, in print() argument
477 ColorMode Mode = ShowColors ? ColorMode::Auto : ColorMode::Disable; in print()
503 WithColor::error(OS, "", !ShowColors); in print()
506 WithColor::warning(OS, "", !ShowColors); in print()
[all …]
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
749 Scanner::Scanner(StringRef Input, SourceMgr &sm, bool ShowColors, in Scanner() argument
751 : SM(sm), ShowColors(ShowColors), EC(EC) { in Scanner()
755 Scanner::Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors, in Scanner() argument
757 : SM(SM_), ShowColors(ShowColors), EC(EC) { in Scanner()
1764 Stream::Stream(StringRef Input, SourceMgr &SM, bool ShowColors, in Stream() argument
1766 : scanner(new Scanner(Input, SM, ShowColors, EC)), CurrentDoc() {} in Stream()
[all …]
/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/llvm-project/clang/lib/Frontend/
DTextDiagnostic.cpp683 if (DiagOpts->ShowColors) in emitDiagnosticMessage()
687 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, in emitDiagnosticMessage()
692 DiagOpts->MessageLength, DiagOpts->ShowColors); in emitDiagnosticMessage()
698 bool ShowColors, in printDiagnosticLevel() argument
700 if (ShowColors) { in printDiagnosticLevel()
732 if (ShowColors) in printDiagnosticLevel()
741 unsigned Columns, bool ShowColors) { in printDiagnosticMessage() argument
743 if (ShowColors && !IsSupplemental) { in printDiagnosticMessage()
758 if (ShowColors) in printDiagnosticMessage()
825 if (DiagOpts->ShowColors) in emitDiagnosticLoc()
[all …]
DASTConsumers.cpp57 bool ShowColors = Out.has_colors(); in TraverseDecl() local
58 if (ShowColors) in TraverseDecl()
62 if (ShowColors) in TraverseDecl()
DTextDiagnosticPrinter.cpp136 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, in HandleDiagnostic()
141 DiagOpts->MessageLength, DiagOpts->ShowColors); in HandleDiagnostic()
/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,
/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,
/external/llvm-project/llvm/include/llvm/Support/
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,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSourceMgr.h195 bool ShowColors = true) const;
201 bool ShowColors = true) const;
208 bool ShowColors = true) const;
304 void print(const char *ProgName, raw_ostream &S, bool ShowColors = true,
/external/llvm-project/clang/include/clang/Frontend/
DTextDiagnostic.h53 bool ShowColors,
74 unsigned Columns, bool ShowColors);
/external/clang/include/clang/Frontend/
DTextDiagnostic.h54 bool ShowColors,
75 unsigned Columns, bool ShowColors);

123