diff options
author | Marcin Swiderski <marcin.sfider@gmail.com> | 2010-11-03 06:19:35 +0000 |
---|---|---|
committer | Marcin Swiderski <marcin.sfider@gmail.com> | 2010-11-03 06:19:35 +0000 |
commit | 8599e7677e067fd01d3b2ee4c0875747d367fd8e (patch) | |
tree | 0133d20b1db121c00953684d173f65335c03b9ad /lib/Driver/Tools.cpp | |
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
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions