[libcxx-commits] [libcxx] [libcxx][test] Add msvc-no-unique-address feature, used by tests (PR #67849)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 3 12:01:01 PDT 2023


================
@@ -7,9 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 // UNSUPPORTED: c++03, c++11, c++14, c++17
-
-// clang-cl and cl currently don't support [[no_unique_address]]
-// XFAIL: msvc
+// XFAIL: msvc && !msvc-no-unique-address
----------------
philnik777 wrote:

I think we instead want to do something like `XFAIL: msvc && (clang-16 || clang-17)`. We can then just remove the line once all compilers support the attribute.

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


More information about the libcxx-commits mailing list