llvm-project/llvm/unittests/ADT
Nick Kledzik 4d6d981297 Fix layering StringRef copy using BumpPtrAllocator.
Now to copy a string into a BumpPtrAllocator and get a StringRef to the copy:

   StringRef myCopy = myStr.copy(myAllocator);
   

llvm-svn: 200885
2014-02-05 22:22:56 +00:00
..
APFloatTest.cpp Change default # of digits for APFloat::toString 2013-08-29 23:44:34 +00:00
APIntTest.cpp Clean up whitespace 2014-01-31 21:45:51 +00:00
ArrayRefTest.cpp Fix layering StringRef copy using BumpPtrAllocator. 2014-02-05 22:22:56 +00:00
BitVectorTest.cpp Fix a buffer overrun detected by AddressSanitizer. 2013-12-19 02:35:26 +00:00
CMakeLists.txt Fix layering StringRef copy using BumpPtrAllocator. 2014-02-05 22:22:56 +00:00
DAGDeltaAlgorithmTest.cpp
DeltaAlgorithmTest.cpp
DenseMapTest.cpp Fixed bug in SmallDenseMap where it wouldn't leave enough space for an empty bucket if the number of values was exactly equal to the small capacity. This led to an infinite loop when finding a non-existent element 2012-10-23 18:47:35 +00:00
DenseSetTest.cpp Fix includes of llvm files that used angle brackets. 2012-09-15 18:45:38 +00:00
FoldingSet.cpp
HashingTest.cpp Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00
ImmutableMapTest.cpp Fix a typo that made ImmutableMap::getMaxElement() useless. 2012-10-14 15:56:39 +00:00
ImmutableSetTest.cpp
IntEqClassesTest.cpp
IntervalMapTest.cpp
IntrusiveRefCntPtrTest.cpp [weak vtables] Place class definitions into anonymous namespaces to prevent weak vtables. 2013-11-19 03:08:35 +00:00
Makefile
MapVectorTest.cpp Remove my bogus MapVector::erase() with a narrower ::pop_back(), and add a unit test. 2013-02-19 18:26:07 +00:00
OptionalTest.cpp Only include move-related Optional<T> tests when rvalue references are available. 2013-02-21 07:58:45 +00:00
PackedVectorTest.cpp Revert "[PowerPC] Improve consistency in use of __ppc__, __powerpc__, etc." 2013-07-26 22:13:57 +00:00
PointerUnionTest.cpp Basic unit tests for PointerUnion 2013-08-21 21:30:23 +00:00
SCCIteratorTest.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
SmallPtrSetTest.cpp Make the moved-from SmallPtrSet be a valid, empty, small-state object. 2013-11-20 18:29:56 +00:00
SmallStringTest.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
SmallVectorTest.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
SparseBitVectorTest.cpp
SparseMultiSetTest.cpp ADT/SparseMultiSetTest.cpp: Try to appease cygwin-clang on stage2, take two. [-Wsign-compare] 2013-01-22 10:39:31 +00:00
SparseSetTest.cpp SparseSet: Add support for key-derived indexes and arbitrary key types. 2012-04-20 20:05:28 +00:00
StringMapTest.cpp Fix break introduced in r198377 due to using a local type as a template parameter. 2014-01-03 00:00:41 +00:00
StringRefTest.cpp Fix layering StringRef copy using BumpPtrAllocator. 2014-02-05 22:22:56 +00:00
TinyPtrVectorTest.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
TripleTest.cpp Darwin: update default iOS version to 5.0 2013-12-10 11:53:16 +00:00
TwineTest.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
VariadicFunctionTest.cpp As Doug pointed out (and I really should know), it is perfectly easy to 2011-12-17 10:20:15 +00:00
ilistTest.cpp Add an iplist::clearAndLeakNodesUnsafely() function. 2013-01-04 22:35:42 +00:00
polymorphic_ptr_test.cpp Fix a null pointer dereference when copying a null polymorphic pointer. 2013-11-13 02:48:20 +00:00