Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 6224e33

Browse files
committed
Update Compiler.h to fail fast when building with MSVC 2013
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284665 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent fa327ae commit 6224e33

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/llvm/Support/Compiler.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,13 @@
6060
/// \macro LLVM_MSC_PREREQ
6161
/// \brief Is the compiler MSVC of at least the specified version?
6262
/// The common \param version values to check for are:
63-
/// * 1800: Microsoft Visual Studio 2013 / 12.0
6463
/// * 1900: Microsoft Visual Studio 2015 / 14.0
6564
#ifdef _MSC_VER
6665
#define LLVM_MSC_PREREQ(version) (_MSC_VER >= (version))
6766

68-
// We require at least MSVC 2013.
69-
#if !LLVM_MSC_PREREQ(1800)
70-
#error LLVM requires at least MSVC 2013.
67+
// We require at least MSVC 2015.
68+
#if !LLVM_MSC_PREREQ(1900)
69+
#error LLVM requires at least MSVC 2015.
7170
#endif
7271

7372
#else

0 commit comments

Comments
 (0)