Lines Matching refs:Out

39     ASTPrinter(raw_ostream *Out = NULL, bool Dump = false,  in ASTPrinter()  argument
41 : Out(Out ? *Out : llvm::outs()), Dump(Dump), in ASTPrinter()
57 bool ShowColors = Out.has_colors(); in TraverseDecl()
59 Out.changeColor(raw_ostream::BLUE); in TraverseDecl()
60 Out << (Dump ? "Dumping " : "Printing ") << getName(D) << ":\n"; in TraverseDecl()
62 Out.resetColor(); in TraverseDecl()
64 Out << "\n"; in TraverseDecl()
83 DC->dumpLookups(Out); in print()
85 Out << "Not a DeclContext\n"; in print()
87 D->dump(Out); in print()
89 D->print(Out, /*Indentation=*/0, /*PrintInstantiation=*/true); in print()
92 raw_ostream &Out; member in __anon157c76730111::ASTPrinter
101 ASTDeclNodeLister(raw_ostream *Out = NULL) in ASTDeclNodeLister() argument
102 : Out(Out ? *Out : llvm::outs()) {} in ASTDeclNodeLister()
111 D->printQualifiedName(Out); in VisitNamedDecl()
112 Out << '\n'; in VisitNamedDecl()
117 raw_ostream &Out; member in __anon157c76730111::ASTDeclNodeLister
121 ASTConsumer *clang::CreateASTPrinter(raw_ostream *Out, in CreateASTPrinter() argument
123 return new ASTPrinter(Out, /*Dump=*/ false, FilterString); in CreateASTPrinter()
176 raw_ostream& Out; member in __anon157c76730311::DeclContextPrinter
178 DeclContextPrinter() : Out(llvm::errs()) {} in DeclContextPrinter()
193 Out << "[translation unit] " << DC; in PrintDeclContext()
196 Out << "[namespace] "; in PrintDeclContext()
198 Out << *ND; in PrintDeclContext()
204 Out << "[enum] "; in PrintDeclContext()
206 Out << "<enum> "; in PrintDeclContext()
207 Out << *ED; in PrintDeclContext()
213 Out << "[struct] "; in PrintDeclContext()
215 Out << "<struct> "; in PrintDeclContext()
216 Out << *RD; in PrintDeclContext()
222 Out << "[class] "; in PrintDeclContext()
224 Out << "<class> "; in PrintDeclContext()
225 Out << *RD << ' ' << DC; in PrintDeclContext()
229 Out << "[objc method]"; in PrintDeclContext()
232 Out << "[objc interface]"; in PrintDeclContext()
235 Out << "[objc category]"; in PrintDeclContext()
238 Out << "[objc protocol]"; in PrintDeclContext()
241 Out << "[objc implementation]"; in PrintDeclContext()
244 Out << "[objc categoryimpl]"; in PrintDeclContext()
247 Out << "[linkage spec]"; in PrintDeclContext()
250 Out << "[block]"; in PrintDeclContext()
255 Out << "[function] "; in PrintDeclContext()
257 Out << "<function> "; in PrintDeclContext()
258 Out << *FD; in PrintDeclContext()
260 Out << "("; in PrintDeclContext()
265 Out << ", "; in PrintDeclContext()
268 Out << **I; in PrintDeclContext()
270 Out << ")"; in PrintDeclContext()
276 Out << "[c++ method] "; in PrintDeclContext()
278 Out << "(c++ method) "; in PrintDeclContext()
280 Out << "<c++ method> "; in PrintDeclContext()
281 Out << *D; in PrintDeclContext()
283 Out << "("; in PrintDeclContext()
288 Out << ", "; in PrintDeclContext()
291 Out << **I; in PrintDeclContext()
293 Out << ")"; in PrintDeclContext()
299 Out << " [[" << SemaDC << "]]"; in PrintDeclContext()
306 Out << "[c++ ctor] "; in PrintDeclContext()
308 Out << "(c++ ctor) "; in PrintDeclContext()
310 Out << "<c++ ctor> "; in PrintDeclContext()
311 Out << *D; in PrintDeclContext()
313 Out << "("; in PrintDeclContext()
318 Out << ", "; in PrintDeclContext()
321 Out << **I; in PrintDeclContext()
323 Out << ")"; in PrintDeclContext()
329 Out << " [[" << SemaDC << "]]"; in PrintDeclContext()
335 Out << "[c++ dtor] "; in PrintDeclContext()
337 Out << "(c++ dtor) "; in PrintDeclContext()
339 Out << "<c++ dtor> "; in PrintDeclContext()
340 Out << *D; in PrintDeclContext()
345 Out << " [[" << SemaDC << "]]"; in PrintDeclContext()
351 Out << "[c++ conversion] "; in PrintDeclContext()
353 Out << "(c++ conversion) "; in PrintDeclContext()
355 Out << "<c++ conversion> "; in PrintDeclContext()
356 Out << *D; in PrintDeclContext()
361 Out << " [[" << SemaDC << "]]"; in PrintDeclContext()
369 Out << "\n"; in PrintDeclContext()
375 Out << " "; in PrintDeclContext()
403 Out << "<IndirectField> " << *IFD << '\n'; in PrintDeclContext()
408 Out << "<Label> " << *LD << '\n'; in PrintDeclContext()
413 Out << "<field> " << *FD << '\n'; in PrintDeclContext()
419 Out << "<typedef> " << *TD << '\n'; in PrintDeclContext()
424 Out << "<enum constant> " << *ECD << '\n'; in PrintDeclContext()
429 Out << "<var> " << *VD << '\n'; in PrintDeclContext()
434 Out << "<implicit parameter> " << *IPD << '\n'; in PrintDeclContext()
439 Out << "<parameter> " << *PVD << '\n'; in PrintDeclContext()
444 Out << "<objc property> " << *OPD << '\n'; in PrintDeclContext()
449 Out << "<function template> " << *FTD << '\n'; in PrintDeclContext()
453 Out << "<file-scope asm>\n"; in PrintDeclContext()
457 Out << "<using directive>\n"; in PrintDeclContext()
462 Out << "<namespace alias> " << *NAD << '\n'; in PrintDeclContext()
467 Out << "<class template> " << *CTD << '\n'; in PrintDeclContext()
471 Out << "<omp threadprivate> " << '"' << *I << "\"\n"; in PrintDeclContext()
475 Out << "DeclKind: " << DK << '"' << *I << "\"\n"; in PrintDeclContext()