Richard Smith
|
612409ece0
PR12057: Allow variadic template pack expansions to cross lambda boundaries.
|
13 anni fa |
Aaron Ballman
|
287698336f
Fixes some test cases that should have come along with r157943.
|
13 anni fa |
John McCall
|
23dde82d90
Make the error about assigning to lambda-captured variables
|
13 anni fa |
John McCall
|
78dae24600
Alternate fix to PR12248: put Sema in charge of special-casing
|
13 anni fa |
Eli Friedman
|
71930e0273
Make sure we treat variables captured by reference in lambda as modifiable lvalues. Regression from r152491. Fixes PR12248.
|
13 anni fa |
Richard Smith
|
16581335fc
Ensure that we instantiate static reference data members of class templates
|
13 anni fa |
Richard Smith
|
61dab36ccb
Remove FIXME: as Eli points out, the behavior here is now correct.
|
13 anni fa |
Richard Smith
|
359c89df54
When checking whether a reference to a variable is an ICE, look at the type of
|
13 anni fa |
Douglas Gregor
|
b09ab8c293
Only pop the expression evaluation context corresponding to a lambda
|
13 anni fa |
Douglas Gregor
|
999713eea9
Rewrite variable capture within lambda expressions and blocks,
|
13 anni fa |
Douglas Gregor
|
f8af982860
Within the body of a lambda expression, decltype((x)) for an
|
13 anni fa |
Douglas Gregor
|
54042f1bd7
Implement return type deduction for lambdas per C++11
|
13 anni fa |
Douglas Gregor
|
b326ca8ffb
Remove the "unsupported" error for lambda expressions. It's annoying,
|
13 anni fa |
Douglas Gregor
|
503384f731
Various interrelated cleanups for lambdas:
|
13 anni fa |
Eli Friedman
|
210386eb61
Fix the result of VarDecl::checkInitIsICE so it is consistently accurate in C++11 mode. PR11928.
|
13 anni fa |
Eli Friedman
|
cefc7b20fd
Make explicit captures which cause implicit captures work correctly.
|
13 anni fa |
Eli Friedman
|
b942cb24a0
Implement implicit capture for lambda expressions.
|
13 anni fa |
Douglas Gregor
|
a1f2114d9e
Introduce the lambda scope before determining explicit captures, which
|
13 anni fa |
Douglas Gregor
|
93962e5360
Improve checking of explicit captures in a C++11 lambda expression:
|
13 anni fa |
Eli Friedman
|
e41b0412b0
Add an additional testcase for a lambda with implicit void return type.
|
13 anni fa |
Eli Friedman
|
84b007fae6
Refactor to share code for handling return statements between lambda expressions and block literals. As it turns out, almost all the logic can be shared.
|
13 anni fa |
Eli Friedman
|
72899c34e3
More lambda work: semantic analysis of capturing 'this'. It's a bit complicated, but we have to be careful about when exactly captures are marked given PotentiallyPotentiallyEvaluated contexts. (Actually, it's not 100% correct yet, but it's close enough for the moment.)
|
13 anni fa |
Eli Friedman
|
e81d7e9810
Lambdas: semantic analysis of explicit captures.
|
13 anni fa |