commit | 73d90928c0462daf0665fd7f8e44ca00d896540d | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Feb 10 09:26:04 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Feb 10 09:26:04 2012 +0000 |
tree | bec61ee71da76e2e8058e67a5ca9eb15f357a24d | |
parent | ef7d78bd5be466c369b04af742ed8268244d4fe7 [diff] |
Add various tests for captures and the reaching scope of the lambda expression. Implement C++11 [expr.prim.lambda]p12's requirement that capturing a variable will odr-use it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150237 91177308-0d34-0410-b5e6-96231b3b80d8