forked from OSchip/llvm-project
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:
parent
6a70c6420f
commit
8aa4922ac5
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue