]> granicus.if.org Git - clang/commit
Delete the TypoResultsMap when erasing the pointer to it.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 13 Apr 2012 23:09:10 +0000 (23:09 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 13 Apr 2012 23:09:10 +0000 (23:09 +0000)
commit9cdd1e3450a07c1bafc32c96f1db88084497f282
tree0574bfd80871520c1127cf4e2b4c5f3a3b24a062
parent38baeabb253f3e04d5b54bf834dbd9f5ebdc9e5c
Delete the TypoResultsMap when erasing the pointer to it.

This manual deleting is error-prone, but we can't just put an OwningPtr in a
std::map :(

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154707 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaLookup.cpp