aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/SmallVectorTest.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-06-17 11:28:13 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-06-17 11:28:13 +0000
commit4de807a55253acc6a360ffc436fdff0b5c7be68f (patch)
tree866cf9806c433337731c353ee6a287a3981b3077 /llvm/unittests/ADT/SmallVectorTest.cpp
parentd599a8c4d167c60e44fdd2a4454cffac31f8a732 (diff)
downloadllvm-4de807a55253acc6a360ffc436fdff0b5c7be68f.zip
llvm-4de807a55253acc6a360ffc436fdff0b5c7be68f.tar.gz
llvm-4de807a55253acc6a360ffc436fdff0b5c7be68f.tar.bz2
Add a unit test for 'swap', and fix a pile of bugs in
SmallDenseMap::swap. First, make it parse cleanly. Yay for uninstantiated methods. Second, make the inline-buckets case work correctly. This is way trickier than it should be due to the uninitialized values in empty and tombstone buckets. Finally fix a few typos that caused construction/destruction mismatches in the counting unittest. llvm-svn: 158641
Diffstat (limited to 'llvm/unittests/ADT/SmallVectorTest.cpp')
0 files changed, 0 insertions, 0 deletions