[libcxx-commits] [libcxx] [libc++] Don't use incomplete remove_pointer builtin for GCC (PR #91838)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sat May 11 02:26:58 PDT 2024
================
@@ -24,7 +24,7 @@ struct remove_pointer {
};
template <class _Tp>
-using __remove_pointer_t = __remove_pointer(_Tp);
+using __remove_pointer_t = typename remove_pointer<_Tp>::type;
----------------
Chilledheart wrote:
Here is a complete list of the newly added gcc builtin functions
https://github.com/llvm/llvm-project/issues/91831#issuecomment-2105592054.
Maybe we can add these macro guards as a whole, or we can just add one for remove_pointer builtin function for now.
https://github.com/llvm/llvm-project/pull/91838
More information about the libcxx-commits
mailing list