@@ -107,6 +107,35 @@ _LIBCPP_HIDE_FROM_ABI constexpr _Rp saturate_cast(_Tp __x)
noexcept {
return static_cast<_Rp>(__x);
}
+#endif // _LIBCPP_STD_VER >= 20
+
+#if _LIBCPP_STD_VER >= 26
+
+template <__libcpp_integer _Tp>
+_LIBCPP_HIDE_FROM_ABI constexpr _Tp add_sat(_Tp __x,
https://github.com/Zingam edited https://github.com/llvm/llvm-project/pull/89503
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Zingam edited https://github.com/llvm/llvm-project/pull/89503
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
Zingam wrote:
@mordante The PR looks odd. Is this intentional or have you mixed two branches?
https://github.com/llvm/llvm-project/pull/89503
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman
H-G-Hristov wrote:
> Oh shit. I just realized that this is most likely a latent bug no matter
> what. We build the module with Clang 18, and then essentially try to load it
> with Clang 17 (aka Clang Tidy 17). AFAIK that's not guaranteed to work, and
> probably just happens to work currently w
Zingam wrote:
@philnik777 These changes seem significant enough to affect already opened PRs
and to confuse the authors who are unaware of the changes.
So basically you are surrounding all C++11 mode headers with:
```C++
#include <__configuration/cxx03.h>
#if defined(_LIBCPP_CXX03_LANG) && !d
Zingam wrote:
I posted a similar comment here:
https://github.com/llvm/llvm-project/pull/134496
I think the compiler support table needs to be updated with "Apple Clang 17",
is that so?
https://libcxx.llvm.org/
https://github.com/llvm/llvm-project/pull/135412
__