diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-02-10 17:46:20 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-02-10 17:46:20 +0000 |
commit | a1bffa26ca7770475d8c45365a7d3a0c823d7f1d (patch) | |
tree | b1166e37c3fafa267071df6560c0af6e70ca57e8 /llvm/lib/CodeGen/InterferenceCache.h | |
parent | 01db64f0ac4b2f545233a50791d2ac90b2efe6a5 (diff) | |
download | bcm5719-llvm-a1bffa26ca7770475d8c45365a7d3a0c823d7f1d.tar.gz bcm5719-llvm-a1bffa26ca7770475d8c45365a7d3a0c823d7f1d.zip |
Allow implicit capture of 'this' in a lambda even when the capture
default is '=', and reword the warning about explicitly capturing
'this' in such lambdas to indicate that only explicit capture is
banned.
Introduce Fix-Its for this and other "save the programmer from
themself" rules regarding what can be explicitly captured and what
must be implicitly captured.
llvm-svn: 150256
Diffstat (limited to 'llvm/lib/CodeGen/InterferenceCache.h')
0 files changed, 0 insertions, 0 deletions