Hi

Patch adds generating destructors for temporary objects. Two cases I know
of, that are not handled properly:
1. For statement: const C& c = C(0) ?: C(1) destructors generated for
condition will not differ from those generated for case without prolonged
lifetime of temporary,
2. There will be no destructor for constant reference member bound to
temporary at the exit from constructor.

Please review and approve for commit.

- Marcin

Attachment: cfg-temp-obj-dtor.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to