r206451 - SemaTemplate.cpp: Appease msvc to get rid of default argument in lambda definition.
NAKAMURA Takumi
geek4civic at gmail.com
Thu Apr 17 01:42:32 PDT 2014
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;
More information about the cfe-commits
mailing list