[libcxx-commits] [libcxx] [libc++] Use remove_pointer builtin only for clang in traits impl (PR #91838)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun May 12 23:11:06 PDT 2024
================
@@ -17,7 +17,8 @@
_LIBCPP_BEGIN_NAMESPACE_STD
-#if !defined(_LIBCPP_WORKAROUND_OBJCXX_COMPILER_INTRINSICS) && __has_builtin(__remove_pointer)
+#if !defined(_LIBCPP_WORKAROUND_OBJCXX_COMPILER_INTRINSICS) && __has_builtin(__remove_pointer) && \
+ defined(_LIBCPP_COMPILER_CLANG_BASED)
----------------
Chilledheart wrote:

https://github.com/llvm/llvm-project/pull/91838
More information about the libcxx-commits
mailing list