[all-commits] [llvm/llvm-project] 06bf10: [C++20] Fix a crash with spaceship and vector type...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Wed May 14 03:58:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06bf100386a3d4d70151a6a777d8f75a39678848
      https://github.com/llvm/llvm-project/commit/06bf100386a3d4d70151a6a777d8f75a39678848
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2025-05-14 (Wed, 14 May 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/test/SemaCXX/cxx2a-three-way-comparison.cpp

  Log Message:
  -----------
  [C++20] Fix a crash with spaceship and vector types (#139767)

Vector types cannot be directly compared, you get an error when you try
to do so. This patch causes the explicitly defaulted spaceship operator
to be implicitly deleted.

Fixes #137452



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list