[ADT] Update PointerIntPair to handle pointer types with more than 31 bits free.
[oota-llvm.git] / unittests / ADT / CMakeLists.txt
index f26ac02feb23b51bf9acd7ca82c54f4cbe83b80f..66e2d20ef73deffdba63a30526b98a44bfbf9c52 100644 (file)
@@ -24,6 +24,7 @@ set(ADTSources
   OptionalTest.cpp
   OwningPtrTest.cpp
   PackedVectorTest.cpp
+  PointerIntPairTest.cpp
   PointerUnionTest.cpp
   SCCIteratorTest.cpp
   SmallPtrSetTest.cpp
@@ -41,15 +42,6 @@ set(ADTSources
   polymorphic_ptr_test.cpp
  )
 
-# They cannot be compiled on MSVC9 due to its bug.
-if(MSVC AND MSVC_VERSION LESS 1600)
-  set(LLVM_OPTIONAL_SOURCES
-    DenseMapTest.cpp
-    SmallVectorTest.cpp
-    )
-  list(REMOVE_ITEM ADTSources ${LLVM_OPTIONAL_SOURCES})
-endif()
-
 add_llvm_unittest(ADTTests
   ${ADTSources}
   )