[all-commits] [llvm/llvm-project] 699da9: PR51874: Fix diagnostics for defaulted, implicitly...

Richard Smith via All-commits all-commits at lists.llvm.org
Wed Sep 15 15:43:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 699da98739b0f88c27f75adbe8295c7e1dfd0188
      https://github.com/llvm/llvm-project/commit/699da98739b0f88c27f75adbe8295c7e1dfd0188
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2021-09-15 (Wed, 15 Sep 2021)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDeclCXX.cpp
    A clang/test/CXX/class/class.compare/class.compare.secondary/p2.cpp

  Log Message:
  -----------
  PR51874: Fix diagnostics for defaulted, implicitly deleted 'operator!='.

Don't say we couldn't find an 'operator<=>' when we were actually
looking for an 'operator=='. Also fix a crash when attempting to
diagnose if we select a built-in 'operator!=' in this lookup.




More information about the All-commits mailing list