summaryrefslogtreecommitdiff
path: root/unittests/ADT
AgeCommit message (Expand)AuthorFilesLines
2010-03-26Fix SmallVector's insert to handle non-random-access iterators.Dan Gohman1-0/+6
2010-03-18Make this test more lenient; with SmallVector now using actuallyDan Gohman1-1/+1
2010-03-17Fix death tests in -Asserts builds.Jeffrey Yasskin2-0/+4
2010-02-28Teach APFloat how to create both QNaNs and SNaNs and with arbitrary-widthJohn McCall1-0/+29
2010-02-26Make APFloat's string-parsing routines a bit safer against very large exponents.John McCall1-0/+7
2010-02-11Fix (harmless) memory leak found by memcheck.Jeffrey Yasskin1-0/+1
2010-02-10Silence GCC warnings.Benjamin Kramer2-12/+12
2010-02-10Implement operators |=, &=, and ^= for SmallBitVector, and remove theDan Gohman2-0/+79
2010-02-09Disable unittests/ADT/BitVectorTest on PPC Darwin.Dale Johannesen2-0/+10
2010-02-03Make APInt::countLeadingZerosSlowCase() treat the contents of padding bitsJohn McCall1-0/+2
2010-01-05Add a SmallBitVector class, which mimics BitVector but uses onlyDan Gohman2-0/+280
2009-12-31Silence compiler warning.Benjamin Kramer1-1/+1
2009-12-31Document the edit-distance algorithm used in StringRef, switch it overDouglas Gregor1-0/+5
2009-12-24Implement support for converting to string at "natural precision", and fix someJohn McCall1-1/+3
2009-12-24Move the two definitions of operator<< into namespace llvm, so theyDouglas Gregor1-1/+4
2009-12-24Define the new operator<< for sets into namespace std, so thatDouglas Gregor1-0/+4
2009-12-24Add accessors for the largest-magnitude, smallest-magnitude, andJohn McCall1-0/+20
2009-12-21Change StringRef::startswith and StringRef::endswith to versions which are aEli Friedman1-0/+8
2009-12-03Add an implementation of the delta debugging algorithm.Daniel Dunbar1-0/+96
2009-11-19Only run this mutex test if threading is enabled. ThisDuncan Sands1-0/+3
2009-11-19Reenable Split2 StringRef test with Apple gcc.Benjamin Kramer1-6/+0
2009-11-17"XFAIL" the Split2 StringReft test with Apple gcc, which miscompiles it.Daniel Dunbar1-0/+6
2009-11-13Distinguish "a," from "a". The first one splits into "a" + "" and the second ...Rafael Espindola1-0/+5
2009-11-13Switch to smallvector. Also fix issue with using unsigend for MaxSplit.Rafael Espindola1-2/+3
2009-11-13Add a new split method to StringRef that puts the substrings in a vector.Rafael Espindola1-0/+75
2009-11-11Add From arguments to StringRef search functions, and tweak doxyments.Daniel Dunbar1-0/+10
2009-11-10Fix DenseMap iterator constness.Jeffrey Yasskin1-0/+12
2009-10-27Type.h doesn't need to #include LLVMContext.hChris Lattner1-1/+1
2009-10-26Move DataTypes.h to include/llvm/System, update all users. This breaks the lastChandler Carruth1-1/+1
2009-10-23Fix stylistic and documentation problems in ValueMap found by Nick Lewycky andJeffrey Yasskin1-3/+3
2009-10-22Try r84890 again (adding ValueMap<>), now that I've tested the compile onJeffrey Yasskin1-0/+291
2009-10-22Revert r84890, which broke the linux build.Jeffrey Yasskin1-291/+0
2009-10-22Add a ValueMap<ValueOrSubclass*, T> type. ValueMap<Value*, T> is safe to useJeffrey Yasskin1-0/+291
2009-10-13Pacify the compiler (signed with unsigned comparison) by makingDuncan Sands1-6/+6
2009-10-13Add a ceilLogBase2 function to APInt.Dan Gohman1-0/+11
2009-09-18Fix a few more conversion warnings on 4.0Daniel Dunbar1-5/+5
2009-09-17Another try at fixing compile warnings on 4.0Daniel Dunbar1-18/+18
2009-09-16Add StringRef::{rfind, rsplit}Daniel Dunbar1-42/+90
2009-09-14Attempt to fix some 4.0.0 build warnings.Daniel Dunbar1-23/+23
2009-09-06Simplify, now that gtest supports raw_ostream directly.Daniel Dunbar1-8/+0
2009-09-03Add test for PR4873, which works for me.Daniel Dunbar1-0/+8
2009-08-24split raw_os_ostream out to its own header and implementation file. ThisChris Lattner1-1/+1
2009-08-24Unbreak unit tests.Daniel Dunbar1-0/+7
2009-08-21Correct for recent assert change.Bill Wendling1-1/+1
2009-08-21Fix bug with APInt::getBitsNeeded with for base 10 numbers 0-9.Erick Tryzelaar1-0/+82
2009-08-21Allow '+' to appear in APInt strings, and add more unit tests.Erick Tryzelaar1-8/+72
2009-08-20Add support for including '+' in APFloat strings, more asserts,Erick Tryzelaar1-51/+450
2009-08-20Fix two APFloat bugs in converting hexadecimal constants.Daniel Dunbar1-0/+2
2009-08-19Remove SmallString::append_*int* unit tests.Benjamin Kramer1-16/+0
2009-08-19Add SmallVector::{capacity,set_size}.Daniel Dunbar1-0/+18