[PATCH] D27554: Loosen checks for _MSC_FULL_VER under -fms-extensions.

David L. Jones via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 17:10:27 PST 2016


dlj created this revision.
dlj added reviewers: rnk, llvm-commits.

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


https://reviews.llvm.org/D27554

Files:
  test/Driver/msc-version.c


Index: test/Driver/msc-version.c
===================================================================
--- test/Driver/msc-version.c
+++ test/Driver/msc-version.c
@@ -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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27554.80690.patch
Type: text/x-patch
Size: 487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161208/8160e608/attachment.bin>


More information about the llvm-commits mailing list