[all-commits] [llvm/llvm-project] 20506f: [libcxx] removes operator!= and globally guards ag...

Christopher Di Bella via All-commits all-commits at lists.llvm.org
Mon May 10 23:41:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20506fb1f361e41012506c6c252fd690541fc708
      https://github.com/llvm/llvm-project/commit/20506fb1f361e41012506c6c252fd690541fc708
  Author: Christopher Di Bella <cjdb at google.com>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M libcxx/include/compare
    M libcxx/test/std/language.support/cmp/cmp.categories.pre/zero_type.verify.cpp
    M libcxx/test/std/language.support/cmp/cmp.partialord/partialord.pass.cpp
    M libcxx/test/std/language.support/cmp/cmp.strongord/strongord.pass.cpp
    M libcxx/test/std/language.support/cmp/cmp.weakord/weakord.pass.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list