Skip to content
Commit 3ab17ad8 authored by Marcin Swiderski's avatar Marcin Swiderski
Browse files

Added generating destructors for temporary objects. Two cases I know of, that...

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.

llvm-svn: 118158
parent 6f360425
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment