RFC: Update Intel386, x86-64 and IA MCU psABIs for passing/returning empty struct

Matthijs van Duin via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 20 11:40:10 PST 2016


On 20 February 2016 at 20:34, H.J. Lu <hjl.tools at gmail.com> wrote:
> Is there a class, which meets the above definition,  with a member function
> which can't be passed without a memory slot or a register?

The EmptyInt class in my first post in this thread. It has no
non-static data members, has standard layout, and has a trivial
default constructor, but it has a non-trivial copy constructor and
non-trivial destructor.

Matthijs van Duin


More information about the cfe-commits mailing list