[clang] [clang][Driver] Support -fms-volatile as equivalent to /volatile:ms (PR #74790)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 11 16:10:51 PST 2023


================
@@ -611,3 +611,9 @@
 // CHECK-INT-OBJEMITTER-NOT: unsupported option '-fintegrated-objemitter' for target
 // RUN: not %clang -### -fno-integrated-objemitter --target=x86_64 %s 2>&1 | FileCheck -check-prefix=CHECK-NOINT-OBJEMITTER %s
 // CHECK-NOINT-OBJEMITTER: unsupported option '-fno-integrated-objemitter' for target
+
+// RUN: %clang -### -target aarch64-windows-msvc %s 2>&1 | FileCheck -check-prefix=CHECK-NO-MS-VOLATILE %s
----------------
MaskRay wrote:

`--target=` for new tests.

`-target ` has been deprecated since clang 3.4.

https://github.com/llvm/llvm-project/pull/74790


More information about the cfe-commits mailing list