Author: chapuni
Date: Thu Apr 17 03:42:31 2014
New Revision: 206451

URL: http://llvm.org/viewvc/llvm-project?rev=206451&view=rev
Log:
SemaTemplate.cpp: Appease msvc to get rid of default argument in lambda 
definition.

  clang\lib\Sema\SemaTemplate.cpp(1826) : error C2064: term does not evaluate 
to a function taking 1 arguments

Modified:
    cfe/trunk/lib/Sema/SemaTemplate.cpp

Modified: cfe/trunk/lib/Sema/SemaTemplate.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaTemplate.cpp?rev=206451&r1=206450&r2=206451&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaTemplate.cpp (original)
+++ cfe/trunk/lib/Sema/SemaTemplate.cpp Thu Apr 17 03:42:31 2014
@@ -1722,8 +1722,8 @@ TemplateParameterList *Sema::MatchTempla
   //   explicitly specialized.
   bool SawNonEmptyTemplateParameterList = false;
 
-  auto CheckExplicitSpecialization = [&](SourceRange Range,
-                                         bool Recovery = false) {
+  auto CheckExplicitSpecialization = [&](SourceRange Range) {
+    bool Recovery = false;
     if (SawNonEmptyTemplateParameterList) {
       Diag(DeclLoc, diag::err_specialize_member_of_template)
         << !Recovery << Range;


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to