commit | 8599e7677e067fd01d3b2ee4c0875747d367fd8e | [log] [tgz] |
---|---|---|
author | Marcin Swiderski <marcin.sfider@gmail.com> | Wed Nov 03 06:19:35 2010 +0000 |
committer | Marcin Swiderski <marcin.sfider@gmail.com> | Wed Nov 03 06:19:35 2010 +0000 |
tree | 0133d20b1db121c00953684d173f65335c03b9ad | |
parent | 138e66ffa8008b95121580f5459af45487df9803 [diff] |
Added 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118158 91177308-0d34-0410-b5e6-96231b3b80d8