llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.lambda
Faisal Vali 8194a3e975 [c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood)
This patch, by hamzasood, implements P0409R2, and allows [=, this] pre-C++2a as an extension (with appropriate warnings) for consistency.

https://reviews.llvm.org/D36572

Thanks Hamza!

llvm-svn: 311224
2017-08-19 03:43:07 +00:00
..
blocks-irgen.mm
blocks.mm
default-arguments.cpp Instantiate function declarations in instantiated functions. 2015-08-23 10:22:28 +00:00
p2-generic-lambda-1y.cpp
p2.cpp PR23334: Perform semantic checking of lambda capture initialization in the right context. 2015-04-27 21:27:54 +00:00
p3.cpp
p4-1y.cpp
p4.cpp
p4.mm
p5-generic-lambda-1y.cpp
p5.cpp Warn when a reference is bound to an empty l-value (dereferenced null pointer). 2016-05-14 17:44:14 +00:00
p6.cpp P0012R1: Make exception specifications be part of the type system. This 2016-10-16 17:54:23 +00:00
p7.cpp
p8.cpp [c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood) 2017-08-19 03:43:07 +00:00
p10.cpp
p11-1y.cpp N3922: direct-list-initialization of an auto-typed variable no longer deduces a 2015-11-11 01:36:17 +00:00
p11.cpp
p12.cpp [Sema] Add warning for unused lambda captures 2017-01-13 15:01:06 +00:00
p13.cpp [Sema] Add warning for unused lambda captures 2017-01-13 15:01:06 +00:00
p14.cpp
p15-star-this-capture.cpp [Cxx1z] Implement Lambda Capture of *this by Value as [=,*this] (P0018R3) 2016-03-21 09:25:37 +00:00
p15.cpp
p16.cpp [Sema] Add warning for unused lambda captures 2017-01-13 15:01:06 +00:00
p18.cpp [Sema] Add warning for unused lambda captures 2017-01-13 15:01:06 +00:00
p19.cpp [Sema] Add warning for unused lambda captures 2017-01-13 15:01:06 +00:00
p20.cpp
p21.cpp
p23.cpp
templates.cpp PR23135: Don't instantiate constexpr functions referenced in unevaluated operands where possible. 2017-01-07 00:48:55 +00:00