Lines Matching refs:Out

39     ASTPrinter(raw_ostream *Out = nullptr, bool Dump = false,
41 : Out(Out ? *Out : llvm::outs()), Dump(Dump),
57 bool ShowColors = Out.has_colors();
59 Out.changeColor(raw_ostream::BLUE);
60 Out << (Dump ? "Dumping " : "Printing ") << getName(D) << ":\n";
62 Out.resetColor();
64 Out << "\n";
83 DC->dumpLookups(Out);
85 Out << "Not a DeclContext\n";
87 D->dump(Out);
89 D->print(Out, /*Indentation=*/0, /*PrintInstantiation=*/true);
92 raw_ostream &Out;
101 ASTDeclNodeLister(raw_ostream *Out = nullptr)
102 : Out(Out ? *Out : llvm::outs()) {}
111 D->printQualifiedName(Out);
112 Out << '\n';
117 raw_ostream &Out;
121 ASTConsumer *clang::CreateASTPrinter(raw_ostream *Out,
123 return new ASTPrinter(Out, /*Dump=*/ false, FilterString);
176 raw_ostream& Out;
178 DeclContextPrinter() : Out(llvm::errs()) {}
193 Out << "[translation unit] " << DC;
196 Out << "[namespace] ";
198 Out << *ND;
204 Out << "[enum] ";
206 Out << "<enum> ";
207 Out << *ED;
213 Out << "[struct] ";
215 Out << "<struct> ";
216 Out << *RD;
222 Out << "[class] ";
224 Out << "<class> ";
225 Out << *RD << ' ' << DC;
229 Out << "[objc method]";
232 Out << "[objc interface]";
235 Out << "[objc category]";
238 Out << "[objc protocol]";
241 Out << "[objc implementation]";
244 Out << "[objc categoryimpl]";
247 Out << "[linkage spec]";
250 Out << "[block]";
255 Out << "[function] ";
257 Out << "<function> ";
258 Out << *FD;
260 Out << "(";
264 Out << ", ";
267 Out << *I;
269 Out << ")";
275 Out << "[c++ method] ";
277 Out << "(c++ method) ";
279 Out << "<c++ method> ";
280 Out << *D;
282 Out << "(";
287 Out << ", ";
290 Out << **I;
292 Out << ")";
298 Out << " [[" << SemaDC << "]]";
305 Out << "[c++ ctor] ";
307 Out << "(c++ ctor) ";
309 Out << "<c++ ctor> ";
310 Out << *D;
312 Out << "(";
317 Out << ", ";
320 Out << **I;
322 Out << ")";
328 Out << " [[" << SemaDC << "]]";
334 Out << "[c++ dtor] ";
336 Out << "(c++ dtor) ";
338 Out << "<c++ dtor> ";
339 Out << *D;
344 Out << " [[" << SemaDC << "]]";
350 Out << "[c++ conversion] ";
352 Out << "(c++ conversion) ";
354 Out << "<c++ conversion> ";
355 Out << *D;
360 Out << " [[" << SemaDC << "]]";
368 Out << "\n";
373 Out << " ";
401 Out << "<IndirectField> " << *IFD << '\n';
406 Out << "<Label> " << *LD << '\n';
411 Out << "<field> " << *FD << '\n';
417 Out << "<typedef> " << *TD << '\n';
422 Out << "<enum constant> " << *ECD << '\n';
427 Out << "<var> " << *VD << '\n';
432 Out << "<implicit parameter> " << *IPD << '\n';
437 Out << "<parameter> " << *PVD << '\n';
442 Out << "<objc property> " << *OPD << '\n';
447 Out << "<function template> " << *FTD << '\n';
451 Out << "<file-scope asm>\n";
455 Out << "<using directive>\n";
460 Out << "<namespace alias> " << *NAD << '\n';
465 Out << "<class template> " << *CTD << '\n';
469 Out << "<omp threadprivate> " << '"' << I << "\"\n";
473 Out << "DeclKind: " << DK << '"' << I << "\"\n";