[libcxx] removes operator!= and globally guards against no spaceship operator
authorChristopher Di Bella <cjdb@google.com>
Mon, 12 Apr 2021 20:55:05 +0000 (20:55 +0000)
committerChristopher Di Bella <cjdb@google.com>
Tue, 11 May 2021 06:40:54 +0000 (06:40 +0000)
commit20506fb1f361e41012506c6c252fd690541fc708
tree6fa32ecafb346b7f74f07bab45061d672de2f16d
parent888307ee625b50b060317e2100fb16e0be2626b7
[libcxx] removes operator!= and globally guards against no spaceship operator

* `operator!=` isn't in the spec
* `<compare>` is designed to work with `operator<=>` so it doesn't
  really make sense to have `operator<=>`-less friendly sections.

Depends on D100283.

Differential Revision: https://reviews.llvm.org/D100342
libcxx/include/compare
libcxx/test/std/language.support/cmp/cmp.categories.pre/zero_type.verify.cpp
libcxx/test/std/language.support/cmp/cmp.partialord/partialord.pass.cpp
libcxx/test/std/language.support/cmp/cmp.strongord/strongord.pass.cpp
libcxx/test/std/language.support/cmp/cmp.weakord/weakord.pass.cpp