summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx2a-lambda-equals-this.cpp
Commit message (Collapse)AuthorAgeFilesLines
* P0806R2 Implicit capture of this with a capture-default of [=] isRichard Smith2018-07-071-2/+10
| | | | | | | | | | deprecated. Add a -Wdeprecated warning for this in C++2a onwards. (In C++17 and before, there isn't a reasonable alternative because [=,this] is ill-formed.) llvm-svn: 336480
* [c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood)Faisal Vali2017-08-191-0/+15
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
OpenPOWER on IntegriCloud