Lines Matching refs:Out

39     ASTPrinter(raw_ostream *Out = NULL, 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 = NULL)
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 << "(";
265 Out << ", ";
268 Out << **I;
270 Out << ")";
276 Out << "[c++ method] ";
278 Out << "(c++ method) ";
280 Out << "<c++ method> ";
281 Out << *D;
283 Out << "(";
288 Out << ", ";
291 Out << **I;
293 Out << ")";
299 Out << " [[" << SemaDC << "]]";
306 Out << "[c++ ctor] ";
308 Out << "(c++ ctor) ";
310 Out << "<c++ ctor> ";
311 Out << *D;
313 Out << "(";
318 Out << ", ";
321 Out << **I;
323 Out << ")";
329 Out << " [[" << SemaDC << "]]";
335 Out << "[c++ dtor] ";
337 Out << "(c++ dtor) ";
339 Out << "<c++ dtor> ";
340 Out << *D;
345 Out << " [[" << SemaDC << "]]";
351 Out << "[c++ conversion] ";
353 Out << "(c++ conversion) ";
355 Out << "<c++ conversion> ";
356 Out << *D;
361 Out << " [[" << SemaDC << "]]";
369 Out << "\n";
375 Out << " ";
403 Out << "<IndirectField> " << *IFD << '\n';
408 Out << "<Label> " << *LD << '\n';
413 Out << "<field> " << *FD << '\n';
419 Out << "<typedef> " << *TD << '\n';
424 Out << "<enum constant> " << *ECD << '\n';
429 Out << "<var> " << *VD << '\n';
434 Out << "<implicit parameter> " << *IPD << '\n';
439 Out << "<parameter> " << *PVD << '\n';
444 Out << "<objc property> " << *OPD << '\n';
449 Out << "<function template> " << *FTD << '\n';
453 Out << "<file-scope asm>\n";
457 Out << "<using directive>\n";
462 Out << "<namespace alias> " << *NAD << '\n';
467 Out << "<class template> " << *CTD << '\n';
471 Out << "<omp threadprivate> " << '"' << *I << "\"\n";
475 Out << "DeclKind: " << DK << '"' << *I << "\"\n";