[all-commits] [llvm/llvm-project] cb28ec: [Sema] Instantiate destructors for initialized mem...
Maurice Heumann via All-commits
all-commits at lists.llvm.org
Thu Mar 13 01:34:27 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cb28ec6cccf9e27eb74f8dc2e7b69c006c1e3544
https://github.com/llvm/llvm-project/commit/cb28ec6cccf9e27eb74f8dc2e7b69c006c1e3544
Author: Maurice Heumann <MauriceHeumann at gmail.com>
Date: 2025-03-13 (Thu, 13 Mar 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/SemaCXX/cxx0x-nontrivial-union.cpp
A clang/test/SemaCXX/union-member-destructor.cpp
Log Message:
-----------
[Sema] Instantiate destructors for initialized members (#128866)
Initializing fields, that are part of an anonymous union, in a
constructor, requires their destructors to be instantiated.
In general, initialized members within non-delegating constructors, need
their destructor instantiated.
This fixes #93251
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