[all-commits] [llvm/llvm-project] bc2401: [c++20] Implement P1185R2 (as modified by P2002R0).

Richard Smith via All-commits all-commits at lists.llvm.org
Tue Dec 10 17:24:35 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bc24014b9765a454cb5214f4871451a41ffb7d29
      https://github.com/llvm/llvm-project/commit/bc24014b9765a454cb5214f4871451a41ffb7d29
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2019-12-10 (Tue, 10 Dec 2019)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Sema/Template.h
    M clang/lib/Frontend/FrontendActions.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    A clang/test/CXX/class/class.compare/class.compare.default/p4.cpp
    M clang/test/CodeGenCXX/cxx2a-three-way-comparison.cpp

  Log Message:
  -----------
  [c++20] Implement P1185R2 (as modified by P2002R0).

For each defaulted operator<=> in a class that doesn't explicitly
declare any operator==, also inject a matching implicit defaulted
operator==.




More information about the All-commits mailing list