libcxx: update to LLVM 18
release/18.x branch, commit 78b99c73ee4b96fe9ce0e294d4632326afb2db42 This adds the flag `-D_LIBCPP_HARDENING_MODE` which is determined based on the Zig optimization mode. This commit also fixes libunwind, libcxx, and libcxxabi to properly report sub compilation errors.
This commit is contained in:
6
lib/libcxx/include/__algorithm/comp.h
vendored
6
lib/libcxx/include/__algorithm/comp.h
vendored
@@ -11,7 +11,7 @@
|
||||
|
||||
#include <__config>
|
||||
#include <__type_traits/integral_constant.h>
|
||||
#include <__type_traits/predicate_traits.h>
|
||||
#include <__type_traits/operation_traits.h>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
# pragma GCC system_header
|
||||
@@ -26,8 +26,8 @@ struct __equal_to {
|
||||
}
|
||||
};
|
||||
|
||||
template <class _Lhs, class _Rhs>
|
||||
struct __is_trivial_equality_predicate<__equal_to, _Lhs, _Rhs> : true_type {};
|
||||
template <class _Tp, class _Up>
|
||||
struct __desugars_to<__equal_tag, __equal_to, _Tp, _Up> : true_type {};
|
||||
|
||||
// The definition is required because __less is part of the ABI, but it's empty
|
||||
// because all comparisons should be transparent.
|
||||
|
||||
Reference in New Issue
Block a user