[all-commits] [llvm/llvm-project] 435d08: [Clang][Sema] Fix incorrect rejection default cons...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Mon Oct 6 13:44:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 435d084ed695e7e8d352e22e8b8614b6a022bb04
      https://github.com/llvm/llvm-project/commit/435d084ed695e7e8d352e22e8b8614b6a022bb04
  Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
  Date:   2025-10-06 (Mon, 06 Oct 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/test/CXX/drs/cwg20xx.cpp
    M clang/test/CodeGen/union-non-trivial-member.cpp
    M clang/test/SemaCXX/cxx0x-nontrivial-union.cpp

  Log Message:
  -----------
  [Clang][Sema] Fix incorrect rejection default construction of union with nontrivial member (#82407)

In 765d8a192180f8f33618087b15c022fe758044af we impelemented a fix for
incorrect deletion of default constructors in unions. This fix missed a
case and so this PR will extend the fix to cover the additional case.

Fixes: https://github.com/llvm/llvm-project/issues/81774



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