Fix variable shadowing. Due to a bug in GCC's implementation of range-based for

loops, it was making this an error, resulting in buildbot failures.

llvm-svn: 204097
This commit is contained in:
Richard Smith 2014-03-18 00:35:12 +00:00
parent 6a70c6420f
commit 8aa4922ac5
1 changed files with 2 additions and 2 deletions

View File

@ -871,8 +871,8 @@ void ASTDumper::VisitIndirectFieldDecl(const IndirectFieldDecl *D) {
dumpType(D->getType());
ChildDumper Children(*this);
for (auto *D : D->chain())
Children.dumpRef(D);
for (auto *Child : D->chain())
Children.dumpRef(Child);
}
void ASTDumper::VisitFunctionDecl(const FunctionDecl *D) {