diff options
author | David Majnemer <david.majnemer@gmail.com> | 2016-06-24 05:48:59 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2016-06-24 05:48:59 +0000 |
commit | 17a752beb9a8c15a8667569bae759590264bcc91 (patch) | |
tree | 42b9007573c37d1aea5b4b95f6b39c035c247079 | |
parent | 21f6189c2992d9afdd3793f8d8cdc71757d7038f (diff) |
try to fix the MSVC build
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@273651 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/RecursiveASTVisitor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/AST/RecursiveASTVisitor.h b/include/clang/AST/RecursiveASTVisitor.h index 5bec82ef19..468d892299 100644 --- a/include/clang/AST/RecursiveASTVisitor.h +++ b/include/clang/AST/RecursiveASTVisitor.h @@ -1831,8 +1831,9 @@ bool RecursiveASTVisitor<Derived>::TraverseFunctionHelper(FunctionDecl *D) { // if the traverser is visiting implicit code. Parameter variable // declarations do not have valid TypeSourceInfo, so to visit them // we need to traverse the declarations explicitly. - for (ParmVarDecl *Parameter : D->parameters()) + for (ParmVarDecl *Parameter : D->parameters()) { TRY_TO(TraverseDecl(Parameter)); + } } if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) { |