[PATCH] D44238: [CFG] Fix automatic destructors when a member is bound to a reference.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 18 18:57:48 PDT 2018


NoQ updated this revision to Diff 147635.
NoQ added a comment.

Switch to `skipRValueSubobjectAdjustments`. Yup, that's much better.

Add FIXME tests for lifetime extension through non-references that are still not working - that correspond to a nearby FIXME in the code. I'm not planning to fix them immediately, but it's nice to know what else isn't working in this realm.


https://reviews.llvm.org/D44238

Files:
  lib/Analysis/CFG.cpp
  test/Analysis/auto-obj-dtors-cfg-output.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44238.147635.patch
Type: text/x-patch
Size: 20121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180519/b1976510/attachment-0001.bin>


More information about the cfe-commits mailing list