Fix QAnyStringView comparison documentation
qdoc's clang knows about spaceship operator, but we still need to document the regular ones. Also add missing return types. Change-Id: If382ac2f51a49c9adbe4a99025403a3e8332fabd Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
parent
32e96667be
commit
1628e79a77
@ -229,7 +229,7 @@ private:
|
||||
[[nodiscard]] friend inline bool operator!=(QAnyStringView lhs, QAnyStringView rhs) noexcept
|
||||
{ return !QAnyStringView::equal(lhs, rhs); }
|
||||
|
||||
#ifdef __cpp_impl_three_way_comparison
|
||||
#if defined(__cpp_impl_three_way_comparison) && !defined(Q_QDOC)
|
||||
[[nodiscard]] friend inline auto operator<=>(QAnyStringView lhs, QAnyStringView rhs) noexcept
|
||||
{ return QAnyStringView::compare(lhs, rhs) <=> 0; }
|
||||
#else
|
||||
|
@ -374,12 +374,12 @@
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn QAnyStringView::operator==(QAnyStringView lhs, QAnyStringView rhs)
|
||||
\fn QAnyStringView::operator!=(QAnyStringView lhs, QAnyStringView rhs)
|
||||
\fn QAnyStringView::operator<=(QAnyStringView lhs, QAnyStringView rhs)
|
||||
\fn QAnyStringView::operator>=(QAnyStringView lhs, QAnyStringView rhs)
|
||||
\fn QAnyStringView::operator<(QAnyStringView lhs, QAnyStringView rhs)
|
||||
\fn QAnyStringView::operator>(QAnyStringView lhs, QAnyStringView rhs)
|
||||
\fn bool QAnyStringView::operator==(QAnyStringView lhs, QAnyStringView rhs)
|
||||
\fn bool QAnyStringView::operator!=(QAnyStringView lhs, QAnyStringView rhs)
|
||||
\fn bool QAnyStringView::operator<=(QAnyStringView lhs, QAnyStringView rhs)
|
||||
\fn bool QAnyStringView::operator>=(QAnyStringView lhs, QAnyStringView rhs)
|
||||
\fn bool QAnyStringView::operator<(QAnyStringView lhs, QAnyStringView rhs)
|
||||
\fn bool QAnyStringView::operator>(QAnyStringView lhs, QAnyStringView rhs)
|
||||
|
||||
Operators that compare \a lhs to \a rhs.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user