Tighten up the asserts in SmallVector::operator[]().
authorJay Foad <jay.foad@gmail.com>
Thu, 21 May 2009 19:48:58 +0000 (19:48 +0000)
committerJay Foad <jay.foad@gmail.com>
Thu, 21 May 2009 19:48:58 +0000 (19:48 +0000)
commitc5d73afa4801d3cb7abea0244c2e9e687564fd6c
tree652231c3dc43abd801ab75ec4d1fb9fd910ba20d
parentef854af5bd231ae0c059eb4f07d13352d2a50a9d
Tighten up the asserts in SmallVector::operator[]().
If this causes any new assertion failures that I didn't catch in
testing, the fix is usually to change "&v[0]" to "v.data()" for some
SmallVector v.

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