NoQ added a comment.

> Add a FIXME test case that demonstrates that automatic destructors don't fire 
> after lifetime extension through a POD field, even though lifetime extension 
> itself seems to work correctly.

This has always been broken - the CFG element for the automatic destructor is 
simply missing in this case. But previously we didn't inline the constructor, 
so the whole thing was invalidated anyway. I wonder how Sema lives without it.

Now the interesting part here is which seems 
to have removed the need to `skipRValueSubobjectAdjustments()` //three days 
after// i added that code in ¯\_(ツ)_/¯

cfe-commits mailing list

Reply via email to