[libcxx-commits] [libcxx] [libc++][array] Applied `[[nodiscard]]` (PR #168829)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Nov 20 03:13:54 PST 2025
================
@@ -443,8 +473,8 @@ array(_Tp, _Args...) -> array<_Tp, 1 + sizeof...(_Args)>;
# endif
template <class _Tp, size_t _Size>
-inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 bool
-operator==(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y) {
+inline _LIBCPP_HIDE_FROM_ABI
+_LIBCPP_CONSTEXPR_SINCE_CXX20 bool operator==(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y) {
----------------
frederick-vs-ja wrote:
Can we avoid pure reformatting?
https://github.com/llvm/llvm-project/pull/168829
More information about the libcxx-commits
mailing list