commit | fa07ab57eb565b4a00712adcefb29d96b445bfcd | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Feb 20 20:47:06 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Feb 20 20:47:06 2012 +0000 |
tree | 6370b8641a1e4c937fe5dd16ece9ff17e88e6ce8 | |
parent | af300298ab86752fa64e339ba34195888a830756 [diff] |
Make sure that we set up the right declaration contexts when creating and introducing the lambda closure type and its function call operator. Previously, we assumed that the lambda closure type would land directly in the current context, and not some parent context (as occurs with linkage specifications). Thanks to Richard for the test case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150987 91177308-0d34-0410-b5e6-96231b3b80d8