r296843 - Fix msc-version.c test to handle _MSC_VER=1910
Dave Bartolomeo via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 2 16:08:56 PST 2017
Author: dbartol
Date: Thu Mar 2 18:08:55 2017
New Revision: 296843
URL: http://llvm.org/viewvc/llvm-project?rev=296843&view=rev
Log:
Fix msc-version.c test to handle _MSC_VER=1910
Previously, VC++ has always set _MSC_VER to a four-digit value with the two least significant digits set to zero. Visual Studio 2017, however, sets _MSC_VER=1910, and we expect to update the least significant digit as we release major updates for VS 2017. This patch fixes the msc-version.c test to handle non-zero values in the two least significant digits of _MSC_VER.
Modified:
cfe/trunk/test/Driver/msc-version.c
Modified: cfe/trunk/test/Driver/msc-version.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/msc-version.c?rev=296843&r1=296842&r2=296843&view=diff
==============================================================================
--- cfe/trunk/test/Driver/msc-version.c (original)
+++ cfe/trunk/test/Driver/msc-version.c Thu Mar 2 18:08:55 2017
@@ -63,4 +63,4 @@
// CHECK-MS-EXTENSIONS: _MSC_BUILD 1
// CHECK-MS-EXTENSIONS: _MSC_FULL_VER {{.+}}
-// CHECK-MS-EXTENSIONS: _MSC_VER {{..}}00
+// CHECK-MS-EXTENSIONS: _MSC_VER {{....}}
More information about the cfe-commits
mailing list