Skip to content

Commit a89edd0

Browse files
committed
[libc++][NFC] Add reminder to remove _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER macro
`__cpp_explicit_this_parameter` has been set in LLVM20 // llvm#107451
1 parent 6fb1d40 commit a89edd0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libcxx/include/__config

+2
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,8 @@ typedef __char32_t char32_t;
11981198
# define _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK
11991199
# endif
12001200

1201+
// TODO(LLVM 22): Remove this macro once LLVM19 support ends. __cpp_explicit_this_parameter has been set in LLVM20
1202+
// https://github.com/llvm/llvm-project/pull/107451
12011203
// Clang-18 has support for deducing this, but it does not set the FTM.
12021204
# if defined(__cpp_explicit_this_parameter) || (defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER >= 1800)
12031205
# define _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER 1

0 commit comments

Comments
 (0)