Skip to content

Commit d40f6dc

Browse files
committed
Address review comment.
1 parent 22a3dae commit d40f6dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libcxx/include/__cxx03/__config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,8 @@ typedef __char32_t char32_t;
12181218
# define _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK
12191219
# endif
12201220

1221-
# if defined(__cpp_explicit_this_parameter)
1221+
// Clang-18 has support for deducing this, but it does not set the FTM.
1222+
# if defined(__cpp_explicit_this_parameter) || (defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER >= 1800)
12221223
# define _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER
12231224
# endif
12241225

0 commit comments

Comments
 (0)