Skip to content
Commit d82201e7 authored by Richard Smith's avatar Richard Smith
Browse files

P0806R2 Implicit capture of this with a capture-default of [=] is

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
parent 9659a127
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment