commit | 39edfeb34b0b0b8033179e35cf13cd5d95d56fa8 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Sat Sep 28 04:31:26 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Sat Sep 28 04:31:26 2013 +0000 |
tree | b1d17574e94fbc198ecfb8447fc1f1962a8aea64 | |
parent | 04fa7a33279808dc3e5117c41b5f84c40eeb7362 [diff] |
Switch from putting init capture VarDecls in the surrounding DeclContext to putting them in the call operator's DeclContext. This better matches the language wording and avoids some cases where code gets confused by them for namespace-scope lambdas and the like. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191606 91177308-0d34-0410-b5e6-96231b3b80d8