Update Compiler.h to fail fast when building with MSVC 2013
authorReid Kleckner <rnk@google.com>
Wed, 19 Oct 2016 23:34:58 +0000 (23:34 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 19 Oct 2016 23:34:58 +0000 (23:34 +0000)
llvm-svn: 284665

llvm/include/llvm/Support/Compiler.h

index c923e9b..33a0399 100644 (file)
 /// \macro LLVM_MSC_PREREQ
 /// \brief Is the compiler MSVC of at least the specified version?
 /// The common \param version values to check for are:
-///  * 1800: Microsoft Visual Studio 2013 / 12.0
 ///  * 1900: Microsoft Visual Studio 2015 / 14.0
 #ifdef _MSC_VER
 #define LLVM_MSC_PREREQ(version) (_MSC_VER >= (version))
 
-// We require at least MSVC 2013.
-#if !LLVM_MSC_PREREQ(1800)
-#error LLVM requires at least MSVC 2013.
+// We require at least MSVC 2015.
+#if !LLVM_MSC_PREREQ(1900)
+#error LLVM requires at least MSVC 2015.
 #endif
 
 #else