summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/cxx1y-init-captures.cpp
Commit message (Collapse)AuthorAge
* Switch from putting init capture VarDecls in the surrounding DeclContext toRichard Smith2013-09-28
| | | | | | | | | 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
* Per latest drafting, switch to implementing init-captures as if by declaringRichard Smith2013-09-28
and capturing a variable declaration, and complete the implementation of them. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191605 91177308-0d34-0410-b5e6-96231b3b80d8