[PATCH] D83448: [CodeGen] Emit destructor calls to destruct non-trivial C struct temporaries created by conditional and assignment operators

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 27 14:38:08 PDT 2020


dblaikie added a comment.

In D83448#2357574 <https://reviews.llvm.org/D83448#2357574>, @ahatanak wrote:

> C structs with ObjC pointer fields are non-trivial when ARC is enabled since construction, destruction, and copy are non-trivial (see https://reviews.llvm.org/D41228). As far as I know, this is limited to ObjC.

OK, good to know - thanks for explaining!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83448



More information about the cfe-commits mailing list