commit | 5d8419c12a1ffaf710fa11fb1091f10f03f2c1dc | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Nov 01 22:13:30 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Nov 01 22:13:30 2011 +0000 |
tree | 791f70d62a7c437a3af9e8bd539ba80a04b5ce3e | |
parent | 0b4072f42f4c94c6c396b43ed3db4d1deecef9c3 [diff] |
When we run into a constructor or destructor that is defined in the wrong class, make sure to drop it immediately; we don't want that constructor to be available within the DeclContext. Fixes <rdar://problem/9677163>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143506 91177308-0d34-0410-b5e6-96231b3b80d8