[all-commits] [llvm/llvm-project] ddc627: [libc++] Simplify the implementation of __is_refer...
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Sun Mar 23 23:32:22 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ddc62797c4fb30475bb2787101fc5b7acb641af9
https://github.com/llvm/llvm-project/commit/ddc62797c4fb30475bb2787101fc5b7acb641af9
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2025-03-24 (Mon, 24 Mar 2025)
Changed paths:
M libcxx/include/__type_traits/add_lvalue_reference.h
M libcxx/include/__type_traits/add_pointer.h
M libcxx/include/__type_traits/add_rvalue_reference.h
M libcxx/include/__type_traits/decay.h
M libcxx/include/__type_traits/is_referenceable.h
A libcxx/test/libcxx/utilities/meta/is_referenceable.compile.pass.cpp
R libcxx/test/libcxx/utilities/meta/is_referenceable.pass.cpp
M libcxx/test/std/utilities/meta/meta.trans/objc_support.compile.pass.mm
Log Message:
-----------
[libc++] Simplify the implementation of __is_referenceable (#130043)
The `__is_referenceable` builtin has been removed from Clang, since all
its uses have been replaced by builtins themselves. This trait only
exists for GCC compatibility and to word around some issues in the other
traits. The non-builtin implementation has been refactored to use
variable templates instead, making the implementation much simpler.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list