From b62b44ccc5a6b147a41766bb39bc662fb0c589bd Mon Sep 17 00:00:00 2001 From: Yaron Keren Date: Tue, 4 Mar 2014 09:23:33 +0000 Subject: Cleaning up a bunch of pre-Visual C++ 2012 build hacks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202806 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/ADT/CMakeLists.txt | 9 --------- unittests/IR/CMakeLists.txt | 6 ------ 2 files changed, 15 deletions(-) (limited to 'unittests') diff --git a/unittests/ADT/CMakeLists.txt b/unittests/ADT/CMakeLists.txt index f26ac02feb..88e8186f33 100644 --- a/unittests/ADT/CMakeLists.txt +++ b/unittests/ADT/CMakeLists.txt @@ -41,15 +41,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} ) diff --git a/unittests/IR/CMakeLists.txt b/unittests/IR/CMakeLists.txt index a597a3524a..305079f2dd 100644 --- a/unittests/IR/CMakeLists.txt +++ b/unittests/IR/CMakeLists.txt @@ -25,12 +25,6 @@ set(IRSources WaymarkTest.cpp ) -# MSVC9 and 8 cannot compile ValueMapTest.cpp due to their bug. -# See issue#331418 in Visual Studio. -if(MSVC AND MSVC_VERSION LESS 1600) - list(REMOVE_ITEM IRSources ValueMapTest.cpp) -endif() - # HACK: Declare a couple of source files as optionally compiled to satisfy the # missing-file-checker in LLVM's weird CMake build. set(LLVM_OPTIONAL_SOURCES -- cgit v1.2.3