Skip to content

Commit 0a4ea39

Browse files
H-G-HristovZingam
authored andcommitted
Automerge: [libc++][NFC] Add reminder to remove _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER macro (#127070)
`__cpp_explicit_this_parameter` has been set in LLVM20 llvm/llvm-project#107451 / llvm/llvm-project@72e58e0 --------- Co-authored-by: Hristo Hristov <[email protected]>
2 parents 6c55495 + e52ad49 commit 0a4ea39

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)