commit | 7ec1873d694cf870264694d2b61219a03492bc30 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Mar 04 22:32:08 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Mar 04 22:32:08 2011 +0000 |
tree | 9d8d3a0e2b320cd763f152d354f0684003c2854c | |
parent | e3eb83b93751544a5fab19b3824f56aeac454f82 [diff] |
When clearing a LookupResult structure, clear out the naming class, too. Fixes PR7900. While I'm in this area, improve the diagnostic when the type being destroyed doesn't match either of the types we found. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127041 91177308-0d34-0410-b5e6-96231b3b80d8