[all-commits] [llvm/llvm-project] a4facd: [c++20] Enforce rule that a union-like class or cl...

Richard Smith via All-commits all-commits at lists.llvm.org
Sun Oct 27 23:26:53 PDT 2019


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

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

  Log Message:
  -----------
  [c++20] Enforce rule that a union-like class or class with reference
members cannot have defaulted comparisons.




More information about the All-commits mailing list