We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 739062d commit 483edfeCopy full SHA for 483edfe
libcxx/include/__config
@@ -1073,9 +1073,8 @@ typedef __char32_t char32_t;
1073
# define _LIBCPP_CTAD_SUPPORTED_FOR_TYPE(_ClassName) static_assert(true, "")
1074
# endif
1075
1076
-// TODO(varconst): currently, there are bugs in Clang's intrinsics when handling Objective-C++ `id`, so don't use
1077
-// compiler intrinsics in the Objective-C++ mode.
1078
-# ifdef __OBJC__
+// TODO(LLVM 22): Remove the workaround
+# if defined(__OBJC__) && (!defined(_LIBCPP_CLANG_VER) || _LIBCPP_CLANG_VER < 2001)
1079
# define _LIBCPP_WORKAROUND_OBJCXX_COMPILER_INTRINSICS
1080
1081
0 commit comments