]> granicus.if.org Git - llvm/commitdiff
Since MSVC 1800 is our lowest common denominator, we don't need an explicit check...
authorAaron Ballman <aaron@aaronballman.com>
Sun, 15 Feb 2015 21:21:52 +0000 (21:21 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Sun, 15 Feb 2015 21:21:52 +0000 (21:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229333 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Compiler.h

index 40bf25ad63dc7a07e64b513d1283055e5fe2efd7..f9bcd2827fd8148f3de9a29e02e96f328d17d996 100644 (file)
 /// public:
 ///   ...
 /// };
-#if __has_feature(cxx_deleted_functions) || \
-    defined(__GXX_EXPERIMENTAL_CXX0X__) || LLVM_MSC_PREREQ(1800)
+#if __has_feature(cxx_deleted_functions) || defined(__GXX_EXPERIMENTAL_CXX0X__)
 #define LLVM_DELETED_FUNCTION = delete
 #else
 #define LLVM_DELETED_FUNCTION
 /// \brief Expands to explicit on compilers which support explicit conversion
 /// operators. Otherwise expands to nothing.
 #if __has_feature(cxx_explicit_conversions) || \
-    defined(__GXX_EXPERIMENTAL_CXX0X__) || LLVM_MSC_PREREQ(1800)
+    defined(__GXX_EXPERIMENTAL_CXX0X__)
 #define LLVM_EXPLICIT explicit
 #else
 #define LLVM_EXPLICIT