More working around a GCC range-based for scope bug.

llvm-svn: 204108
This commit is contained in:
Richard Smith 2014-03-18 02:37:59 +00:00
parent 0aa1aa2e9d
commit 7fcb35f5e1
1 changed files with 4 additions and 4 deletions

View File

@ -1351,8 +1351,8 @@ void ASTDumper::VisitObjCProtocolDecl(const ObjCProtocolDecl *D) {
dumpName(D);
ChildDumper Children(*this);
for (auto *D : D->protocols())
Children.dumpRef(D);
for (auto *Child : D->protocols())
Children.dumpRef(Child);
}
void ASTDumper::VisitObjCInterfaceDecl(const ObjCInterfaceDecl *D) {
@ -1361,8 +1361,8 @@ void ASTDumper::VisitObjCInterfaceDecl(const ObjCInterfaceDecl *D) {
ChildDumper Children(*this);
Children.dumpRef(D->getImplementation());
for (auto *D : D->protocols())
Children.dumpRef(D);
for (auto *Child : D->protocols())
Children.dumpRef(Child);
}
void ASTDumper::VisitObjCImplementationDecl(const ObjCImplementationDecl *D) {