[PATCH] D92361: [trivial-abi] Support types without a copy or move constructor.

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 16 23:37:54 PST 2020


rjmccall added a comment.

In D92361#2459513 <https://reviews.llvm.org/D92361#2459513>, @zoecarver wrote:

>> I think that as long as the class leaves a copy/move constructor defaulted, there's no need for a new trivial_abi attribute.
>
> Sorry, I'm not sure I follow. Could you elaborate a bit or provide an example? What do you mean by "new" trivial_abi attribute?

Sorry, I mean that I think Akira's example should be passed directly.  It shouldn't require its own trivial_abi attribute in order to get the treatment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92361/new/

https://reviews.llvm.org/D92361



More information about the cfe-commits mailing list