From: Yaron Keren Date: Tue, 30 Jun 2015 07:35:19 +0000 (+0000) Subject: Unbreak the Visual C++ 2013 build after r241032. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc1408213c6156d0279c9891e797dfdef717e05b;p=clang Unbreak the Visual C++ 2013 build after r241032. clang\lib\Parse\ParseDeclCXX.cpp(2396): error C3486: a parameter for a lambda cannot have a default argument git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241046 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Parse/ParseDeclCXX.cpp b/lib/Parse/ParseDeclCXX.cpp index 137e6abc6b..42374f6e45 100644 --- a/lib/Parse/ParseDeclCXX.cpp +++ b/lib/Parse/ParseDeclCXX.cpp @@ -2374,7 +2374,7 @@ void Parser::ParseCXXClassMemberDeclaration(AccessSpecifier AS, SourceLocation EqualLoc; SourceLocation PureSpecLoc; - auto TryConsumePureSpecifier = [&] (bool AllowDefinition = false) { + auto TryConsumePureSpecifier = [&] (bool AllowDefinition) { if (Tok.isNot(tok::equal)) return false;