DenseMap: assert that we have found a bucket before we try to insert into it.
authorJordan Rose <jordan_rose@apple.com>
Sat, 22 Sep 2012 01:24:16 +0000 (01:24 +0000)
committerJordan Rose <jordan_rose@apple.com>
Sat, 22 Sep 2012 01:24:16 +0000 (01:24 +0000)
commit3bbdddf527c762085802544665d6e77471ea035b
treee98ae293d20e78bbe115a188814a95aa3d1948e1
parentef5fc952e8de9c76ff00cd7638ae85cf709264bd
DenseMap: assert that we have found a bucket before we try to insert into it.

This silences literally dozens of analyzer warnings on LLVM (since DenseMap
is such a commonly-used class).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164438 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/DenseMap.h