forked from OSchip/llvm-project
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:
parent
6e4463fecc
commit
f7ed399881
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue