gecko-dev/ipc/ipdl
Nika Layzell 1ee5073e80 Bug 1907412 - Stop using AlignedStorage in IPDL unions, r=ipc-reviewers,mccr8
In more recent versions of C++, it is possible to declare a C union with
non-POD members, so long as there is an explicit destructor/constructor
responsible for managing the members.

This patch switches to using the variant types directly within the
union, rather than using AlignedStorage to store inline members. This
requires some tweaks to how the union is declared (specifically, it must
be an anonymous inline union so that it shares the main union type's
constructor/destructor, otherwise explicit ctors/dtors would need to be
declared for the bare union type).

Overall, this change should make no functional difference.

Differential Revision: https://phabricator.services.mozilla.com/D216329
2024-07-15 21:33:37 +00:00
..
ipdl Bug 1907412 - Stop using AlignedStorage in IPDL unions, r=ipc-reviewers,mccr8 2024-07-15 21:33:37 +00:00
test Bug 1893087 - Part 2: Add test for constructing an actor under an already dead manager, r=ipc-reviewers,mccr8 2024-04-30 21:27:34 +00:00
ipdl.py Bug 1896638 - Export some IPDL information as JSON. r=nika 2024-06-07 10:22:48 +00:00
Makefile.in Bug 1890722 - Correctly track generation of ipdl files r=glandium 2024-04-16 06:52:32 +00:00
message-metadata.ini
moz.build
msgtype-components
sync-messages.ini Bug 1901197: do synchronous Content Analysis for clipboard operations on a background thread r=dlp-reviewers,ipc-reviewers,handyman 2024-07-04 01:24:53 +00:00