Lines Matching refs:Out

39     ASTPrinter(raw_ostream *Out = NULL, bool Dump = false,
41 : Out(Out ? *Out : llvm::outs()), Dump(Dump),
49 D->dump(Out);
51 D->print(Out, /*Indentation=*/0, /*PrintInstantiation=*/true);
64 Out.changeColor(llvm::raw_ostream::BLUE) <<
66 Out.resetColor();
68 D->dump(Out);
70 D->print(Out, /*Indentation=*/0, /*PrintInstantiation=*/true);
71 Out << "\n";
88 raw_ostream &Out;
96 ASTDeclNodeLister(raw_ostream *Out = NULL)
97 : Out(Out ? *Out : llvm::outs()) {}
106 Out << D->getQualifiedNameAsString() << "\n";
111 raw_ostream &Out;
115 ASTConsumer *clang::CreateASTPrinter(raw_ostream *Out,
117 return new ASTPrinter(Out, /*Dump=*/ false, FilterString);
170 raw_ostream& Out;
172 DeclContextPrinter() : Out(llvm::errs()) {}
187 Out << "[translation unit] " << DC;
190 Out << "[namespace] ";
192 Out << *ND;
198 Out << "[enum] ";
200 Out << "<enum> ";
201 Out << *ED;
207 Out << "[struct] ";
209 Out << "<struct> ";
210 Out << *RD;
216 Out << "[class] ";
218 Out << "<class> ";
219 Out << *RD << ' ' << DC;
223 Out << "[objc method]";
226 Out << "[objc interface]";
229 Out << "[objc category]";
232 Out << "[objc protocol]";
235 Out << "[objc implementation]";
238 Out << "[objc categoryimpl]";
241 Out << "[linkage spec]";
244 Out << "[block]";
249 Out << "[function] ";
251 Out << "<function> ";
252 Out << *FD;
254 Out << "(";
259 Out << ", ";
262 Out << **I;
264 Out << ")";
270 Out << "[c++ method] ";
272 Out << "(c++ method) ";
274 Out << "<c++ method> ";
275 Out << *D;
277 Out << "(";
282 Out << ", ";
285 Out << **I;
287 Out << ")";
293 Out << " [[" << SemaDC << "]]";
300 Out << "[c++ ctor] ";
302 Out << "(c++ ctor) ";
304 Out << "<c++ ctor> ";
305 Out << *D;
307 Out << "(";
312 Out << ", ";
315 Out << **I;
317 Out << ")";
323 Out << " [[" << SemaDC << "]]";
329 Out << "[c++ dtor] ";
331 Out << "(c++ dtor) ";
333 Out << "<c++ dtor> ";
334 Out << *D;
339 Out << " [[" << SemaDC << "]]";
345 Out << "[c++ conversion] ";
347 Out << "(c++ conversion) ";
349 Out << "<c++ conversion> ";
350 Out << *D;
355 Out << " [[" << SemaDC << "]]";
363 Out << "\n";
369 Out << " ";
397 Out << "<IndirectField> " << *IFD << '\n';
402 Out << "<Label> " << *LD << '\n';
407 Out << "<field> " << *FD << '\n';
413 Out << "<typedef> " << *TD << '\n';
418 Out << "<enum constant> " << *ECD << '\n';
423 Out << "<var> " << *VD << '\n';
428 Out << "<implicit parameter> " << *IPD << '\n';
433 Out << "<parameter> " << *PVD << '\n';
438 Out << "<objc property> " << *OPD << '\n';
443 Out << "<function template> " << *FTD << '\n';
447 Out << "<file-scope asm>\n";
451 Out << "<using directive>\n";
456 Out << "<namespace alias> " << *NAD << '\n';
461 Out << "<class template> " << *CTD << '\n';
465 Out << "DeclKind: " << DK << '"' << *I << "\"\n";