[libcxx-commits] [libcxx] [libc++] Removes Clang-18 specific code. (PR #134496)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Sat Apr 5 07:06:58 PDT 2025


================
@@ -1218,8 +1218,7 @@ typedef __char32_t char32_t;
 #    define _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK
 #  endif
 
-// Clang-18 has support for deducing this, but it does not set the FTM.
-#  if defined(__cpp_explicit_this_parameter) || (defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER >= 1800)
+#  if defined(__cpp_explicit_this_parameter)
----------------
mordante wrote:

Good catch, that was not intentionally.

https://github.com/llvm/llvm-project/pull/134496


More information about the libcxx-commits mailing list