[libcxx] [clang] [Clang][libc++] Implement __is_nothrow_convertible and use it in libc++ (PR #80436)

via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 2 06:57:57 PST 2024


================
@@ -567,6 +567,7 @@ TYPE_TRAIT_1(__is_unsigned, IsUnsigned, KEYCXX)
 // Embarcadero Binary Type Traits
 TYPE_TRAIT_2(__is_same, IsSame, KEYCXX)
 TYPE_TRAIT_2(__is_convertible, IsConvertible, KEYCXX)
+TYPE_TRAIT_2(__is_nothrow_convertible, IsNothrowConvertible, KEYCXX)
----------------
cor3ntin wrote:

It would be nice to move __is_nothrow_convertible / __is_convertible / __is_same above the Embarcadero comment

https://github.com/llvm/llvm-project/pull/80436


More information about the cfe-commits mailing list