Try to pacify MSVC.

I'm not sure why it needs these braces, but they help locally.

llvm-svn: 258505
This commit is contained in:
Nico Weber 2016-01-22 15:49:53 +00:00
parent 6e4463fecc
commit f7ed399881
1 changed files with 2 additions and 1 deletions

View File

@ -811,8 +811,9 @@ bool RecursiveASTVisitor<Derived>::TraverseConstructorInitializer(
TRY_TO(TraverseStmt(Init->getInit()));
if (Init->getNumArrayIndices() && getDerived().shouldVisitImplicitCode())
for (VarDecl *VD : Init->getArrayIndexes())
for (VarDecl *VD : Init->getArrayIndexes()) {
TRY_TO(TraverseDecl(VD));
}
return true;
}