================
@@ -470,4 +470,9 @@ inline Tp const& DoNotOptimize(Tp const& value) {
 #  define TEST_IF_AIX(arg_true, arg_false) arg_false
 #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)
----------------
mordante wrote:

This in one of the exceptions where we can use 
```suggestion
#ifdef _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER
```
MSVC STL has their own test file 
`libcxx/test/support/msvc_stdlib_force_include.h` where they can set this 
define for their compilers when they implement it.

https://github.com/llvm/llvm-project/pull/76449
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to