diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-17 12:46:13 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-06-17 12:46:13 +0000 |
commit | d45f7b6b5dd36b4732dff82ab7c8a856a7b36ae0 (patch) | |
tree | e0a6d00ad7a21a36ffa447e962cbe57479cf1d84 /unittests/ADT/SmallMapTest.cpp | |
parent | b4bec53f367614132290425cb4805a2d5696153a (diff) |
Bring the return value of SmallVector::insert in line with std::vector::insert.
It always returns the iterator for the first inserted element, or the passed in
iterator if the inserted range was empty. Flesh out the unit test more and fix
all the cases it uncovered so far.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158645 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT/SmallMapTest.cpp')
0 files changed, 0 insertions, 0 deletions