[PATCH] D55543: [CodeGen] Fix assertion on throwing object with inlined inherited constructor and non-trivial destructor.
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 11 21:45:52 PST 2018
rjmccall added a comment.
Nice catch. This also fixes problems where there might be cleanups entered by `EmitParmDecl`, e.g. in ObjC++ with a parameter of type `struct A { __strong id x; }`; could you please add a test for that and verify that the parameter is destroyed at an appropriate point in the inlined call?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55543/new/
https://reviews.llvm.org/D55543
More information about the cfe-commits
mailing list