r289011 - Loosen checks for _MSC_FULL_VER under -fms-extensions.

David L. Jones via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 7 17:11:42 PST 2016


Author: dlj
Date: Wed Dec  7 19:11:41 2016
New Revision: 289011

URL: http://llvm.org/viewvc/llvm-project?rev=289011&view=rev
Log:
Loosen checks for _MSC_FULL_VER under -fms-extensions.

Summary:
On actual Windows hosts :-) , this could report something other than the
fallback, with a non-zero minor/build number.

Reviewers: rnk, llvm-commits

Differential Revision: https://reviews.llvm.org/D27554

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=289011&r1=289010&r2=289011&view=diff
==============================================================================
--- cfe/trunk/test/Driver/msc-version.c (original)
+++ cfe/trunk/test/Driver/msc-version.c Wed Dec  7 19:11:41 2016
@@ -62,5 +62,5 @@
 // RUN: %clang -target i686-windows -fms-extensions -dM -E - </dev/null -o - | FileCheck %s -check-prefix CHECK-MS-EXTENSIONS
 
 // CHECK-MS-EXTENSIONS: _MSC_BUILD 1
-// CHECK-MS-EXTENSIONS: _MSC_FULL_VER {{..}}000000
+// CHECK-MS-EXTENSIONS: _MSC_FULL_VER {{.+}}
 // CHECK-MS-EXTENSIONS: _MSC_VER {{..}}00




More information about the cfe-commits mailing list