Author: majnemer Date: Fri Jun 24 00:48:59 2016 New Revision: 273651 URL: http://llvm.org/viewvc/llvm-project?rev=273651&view=rev Log: try to fix the MSVC build
Modified: cfe/trunk/include/clang/AST/RecursiveASTVisitor.h Modified: cfe/trunk/include/clang/AST/RecursiveASTVisitor.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/RecursiveASTVisitor.h?rev=273651&r1=273650&r2=273651&view=diff ============================================================================== --- cfe/trunk/include/clang/AST/RecursiveASTVisitor.h (original) +++ cfe/trunk/include/clang/AST/RecursiveASTVisitor.h Fri Jun 24 00:48:59 2016 @@ -1831,8 +1831,9 @@ bool RecursiveASTVisitor<Derived>::Trave // 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)) { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits