[libcxx-commits] [libcxx] [libc++][test] Guard use of `[[clang::trivial_abi]]` (PR #211736)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jul 24 03:06:37 PDT 2026
frederick-vs-ja wrote:
> Should we just disable the test for MSVC instead?
In the test suite of MSVC STL, cases of this test using MSVC are already marked `XFAIL`. So I'm not sure whether we should even do anything if we decide not to make MSVC happy with this test.
> This is rather meaningless if the compiler doesn't support `[[clang::trivial_abi]]`.
Hmm, I think we're keeping GCC running this test for a long while even though GCC (before 17) doesn't support `[[clang::trivial_abi]]` yet.
(FWIW, GCC 17 starts supporting `[[clang::trivial_abi]]` via gcc-mirror/gcc at 1e89650aff94c20007f74949018f5d5150ea9ba7.)
https://github.com/llvm/llvm-project/pull/211736
More information about the libcxx-commits
mailing list