Skip to content

Commit 2d67868

Browse files
H-G-HristovZingam
authored and
joaosaffran
committed
[libc++][NFC] Add reminder to remove _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER macro (llvm#127070)
`__cpp_explicit_this_parameter` has been set in LLVM20 llvm#107451 / llvm@72e58e0 --------- Co-authored-by: Hristo Hristov <[email protected]>
1 parent 10b0138 commit 2d67868

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libcxx/include/__config

+1
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,7 @@ 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.
12011202
// Clang-18 has support for deducing this, but it does not set the FTM.
12021203
# if defined(__cpp_explicit_this_parameter) || (defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER >= 1800)
12031204
# define _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER 1

0 commit comments

Comments
 (0)