Deleted Added
full compact
77,79c77,78
< void Decl::print(llvm::raw_ostream &Out, ASTContext &Context,
< unsigned Indentation) {
< print(Out, Context, Context.PrintingPolicy, Indentation);
---
> void Decl::print(llvm::raw_ostream &Out, unsigned Indentation) {
> print(Out, getASTContext().PrintingPolicy, Indentation);
82,84c81,83
< void Decl::print(llvm::raw_ostream &Out, ASTContext &Context,
< const PrintingPolicy &Policy, unsigned Indentation) {
< DeclPrinter Printer(Out, Context, Policy, Indentation);
---
> void Decl::print(llvm::raw_ostream &Out, const PrintingPolicy &Policy,
> unsigned Indentation) {
> DeclPrinter Printer(Out, getASTContext(), Policy, Indentation);
99a99,100
> else if (const VectorType *VTy = BaseType->getAsVectorType())
> BaseType = VTy->getElementType();
115,116c116
< llvm::raw_ostream &Out, ASTContext &Context,
< const PrintingPolicy &Policy,
---
> llvm::raw_ostream &Out, const PrintingPolicy &Policy,
119c119
< (*Begin)->print(Out, Context, Policy, Indentation);
---
> (*Begin)->print(Out, Policy, Indentation);
130c130
< TD->print(Out, Context, Policy, Indentation);
---
> TD->print(Out, Policy, Indentation);
145c145
< (*Begin)->print(Out, Context, SubPolicy, Indentation);
---
> (*Begin)->print(Out, SubPolicy, Indentation);
149,150c149,150
< void Decl::dump(ASTContext &Context) {
< print(llvm::errs(), Context);
---
> void Decl::dump() {
> print(llvm::errs());
161,162c161
< Decl::printGroup(Decls.data(), Decls.size(), Out, Context,
< Policy, Indentation);
---
> Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation);
177,178c176
< for (DeclContext::decl_iterator D = DC->decls_begin(Context),
< DEnd = DC->decls_end(Context);
---
> for (DeclContext::decl_iterator D = DC->decls_begin(), DEnd = DC->decls_end();
367c365
< D->getBody(Context)->printPretty(Out, Context, 0, SubPolicy, Indentation);
---
> D->getBody()->printPretty(Out, Context, 0, SubPolicy, Indentation);
507c505
< Visit(*D->decls_begin(Context));
---
> Visit(*D->decls_begin());