Skip to content

Commit f63d694

Browse files
committed
[libc++] Use __add_pointer and __remove_pointer builtins when they are fixed
1 parent 6f1347d commit f63d694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ typedef __char32_t char32_t;
10761076

10771077
// TODO(varconst): currently, there are bugs in Clang's intrinsics when handling Objective-C++ `id`, so don't use
10781078
// compiler intrinsics in the Objective-C++ mode.
1079-
# ifdef __OBJC__
1079+
# if defined(__OBJC__) && defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER < 2010
10801080
# define _LIBCPP_WORKAROUND_OBJCXX_COMPILER_INTRINSICS
10811081
# endif
10821082

0 commit comments

Comments
 (0)