forked from OSchip/llvm-project
More working around a GCC range-based for scope bug.
llvm-svn: 204108
This commit is contained in:
parent
0aa1aa2e9d
commit
7fcb35f5e1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue