summaryrefslogtreecommitdiff
path: root/unittests/ADT
AgeCommit message (Expand)AuthorFilesLines
2013-02-21Only include move-related Optional<T> tests when rvalue references are availa...David Blaikie1-30/+32
2013-02-21Add move ctor/assignment to Optional<T>David Blaikie1-0/+109
2013-02-20Move the SplatByte helper to APInt and generalize it a bit.Benjamin Kramer1-0/+10
2013-02-20Rename llvm::Optional<T>::Reset to 'reset' as per LLVM naming conventions.David Blaikie1-1/+1
2013-02-20Allow llvm::Optional to work with types without default constructors.David Blaikie2-0/+174
2013-02-19Remove my bogus MapVector::erase() with a narrower ::pop_back(), and add a un...Douglas Gregor1-1/+15
2013-02-07ADT: Correct APInt::getActiveWords for zero valuesMeador Inge1-0/+8
2013-01-30Added a unit test for r173983 that verifies that Target.isiOS() works correctly.Michael Gottesman1-0/+30
2013-01-25Add file to CMakeLists (file added in r173505)Dmitri Gribenko1-0/+1
2013-01-25Add an insert() method to MapVector. Adds the first MapVector unit test.Nick Lewycky1-0/+41
2013-01-25APFloat: Make sure that we get a well-formed x87 NaN when converting from a s...Benjamin Kramer1-0/+26
2013-01-22ADT/SparseMultiSetTest.cpp: Try to appease cygwin-clang on stage2, take two. ...NAKAMURA Takumi1-1/+1
2013-01-22ADT/SparseMultiSetTest.cpp: Try to appease cygwin-clang (libstdc++-4.5) on st...NAKAMURA Takumi1-2/+2
2013-01-21Introduce a new data structure, the SparseMultiSet, and changes to the MI sch...Michael Ilseman2-0/+236
2013-01-07Implement APFloat::isDenormal()Shuxin Yang1-0/+52
2013-01-04Add an iplist::clearAndLeakNodesUnsafely() function.Jakob Stoklund Olesen1-0/+33
2013-01-02Sort a few more #include lines in tools/... unittests/... and utils/...Chandler Carruth1-1/+1
2012-12-18Add an assertion for a likely ilist::splice() contract violation.Jakob Stoklund Olesen1-0/+21
2012-12-04Sort the #include lines for unittest/...Chandler Carruth9-19/+19
2012-11-30Switch LLVM_USE_RVALUE_REFERENCES to LLVM_HAS_RVALUE_REFERENCES.Chandler Carruth1-17/+17
2012-11-08Drop the limitation to IEEE floating point types from the fdiv of pow2 -> fmu...Benjamin Kramer1-0/+6
2012-10-29Implement arithmetic on APFloat with PPCDoubleDouble semantics byUlrich Weigand1-0/+36
2012-10-23Fixed bug in SmallDenseMap where it wouldn't leave enough space for an empty ...Pete Cooper1-0/+33
2012-10-16Fix a bug in the set(I,E)/reset(I,E) methods that I recently added. The boun...Owen Anderson1-0/+10
2012-10-15Add range-based set()/reset() to BitVector. These allow fast setting/resetti...Owen Anderson1-0/+42
2012-10-14Update CMake build.Benjamin Kramer1-0/+1
2012-10-14Fix a typo that made ImmutableMap::getMaxElement() useless.Benjamin Kramer1-0/+50
2012-10-12Add powerpc-ibm-aix to Triple. Patch by Kai.Duncan Sands1-0/+12
2012-10-03Use unsigned long long instead of uin64_t for OS where that matters.Nick Kledzik1-1/+1
2012-10-03Don't call getAsUnsignedInteger directly, it fails to compile if uint64_t is ...Benjamin Kramer1-1/+5
2012-10-03Add getAsUnsignedInteger test case that checks that known bad values are reje...Nick Kledzik1-0/+19
2012-09-26APFloat::roundToIntegral: Special values don't keep the exponent value up to ...Benjamin Kramer1-0/+17
2012-09-15Fix includes of llvm files that used angle brackets.Craig Topper1-1/+1
2012-08-30ADTTests: [CMake] Exclude DenseMapTest.cpp and SmallVectorTest.cpp on MSVC9 d...NAKAMURA Takumi1-1/+14
2012-08-15Fix another roundToIntegral bug where very large values could become infinity...Owen Anderson1-1/+14
2012-08-15Fix a problem with APFloat::roundToIntegral where it would return incorrect r...Owen Anderson1-0/+30
2012-08-01Add range erase, element insert, and range insert methods toChandler Carruth1-0/+91
2012-07-31Implement copy and move assignment for TinyPtrVector. These try toChandler Carruth1-0/+166
2012-07-31Bring TinyPtrVector under test. Somehow we never picked up unit testsChandler Carruth2-0/+192
2012-07-30Move the SmallVector unit tests to be type-parameterized so that we canChandler Carruth1-149/+176
2012-06-21Completely refactor the structuring of unittest CMake files to match theChandler Carruth1-0/+32
2012-06-19Fix PR13148, an inf-loop in StringMap.Chandler Carruth1-0/+22
2012-06-19Remove some superfluous SCOPED_TRACEs from this unit test.Chandler Carruth1-6/+0
2012-06-17Remove SmallMap unittests, unbreaking the build.Benjamin Kramer1-162/+0
2012-06-17Bring the return value of SmallVector::insert in line with std::vector::insert.Benjamin Kramer1-4/+30
2012-06-17SmallVector: return a valid iterator for the rare case of inserting an empty ...Benjamin Kramer1-0/+7
2012-06-17Add a unit test for 'swap', and fix a pile of bugs inChandler Carruth1-0/+36
2012-06-17Add tests for *DenesMap for both key and value types' construction andChandler Carruth1-1/+46
2012-06-17Introduce a SmallDenseMap container that re-uses the existing DenseMapChandler Carruth1-27/+35
2012-06-16Merge the SmallBitVector and BitVector unit tests with gtest's typed test mag...Benjamin Kramer2-212/+25