commit | 3c0e80e9f2f733b7b56251e9bfd4c1097a81b2f5 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Fri Feb 03 02:04:35 2012 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Fri Feb 03 02:04:35 2012 +0000 |
tree | 0b8b069ffd8b14eba028d652d1fc901033072aa9 | |
parent | 7a0a31ce0cd38147bfe853f71a3f7261444ddf4c [diff] |
Refactor capture in blocks to use new-style capture hooks. Start adding a bit of the code for lambdas. The only visible changes are that we use the C++11 odr-used rules to figure out when a variable is captured, and type-checking in lambdas is slightly more accurate. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149663 91177308-0d34-0410-b5e6-96231b3b80d8