[libcxx-commits] [PATCH] D121435: [libc++] Canonicalize the ranges results and their tests
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 17 19:47:12 PDT 2022
philnik added inline comments.
================
Comment at: libcxx/test/std/algorithms/algorithms.results/no_unique_address.compile.pass.cpp:60
+#ifdef TEST_COMPILER_CLANG
+#pragma clang diagnostic ignored "-Wunknown-attributes"
+#elif defined(TEST_COMPILER_GCC)
----------------
var-const wrote:
> Question: why is it not possible to use `_LIBCPP_NO_UNIQUE_ADDRESS`?
It's possible, but I think @Mordante wouldn't be very happy about it. In general we want to avoid using the libc++ macros in the test suite, and using the two attributes is completely portable (other than having warnings).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121435/new/
https://reviews.llvm.org/D121435
More information about the libcxx-commits
mailing list