[llvm-bugs] [Bug 32098] Life time issue with const reference to temporary

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 28 22:29:52 PST 2017


https://bugs.llvm.org/show_bug.cgi?id=32098

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #3 from Richard Smith <richard-llvm at metafoo.co.uk> ---
The IR emitted by Clang is correct. The lifetime of the temporary is not
extended in this case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170301/1301a2ba/attachment-0001.html>


More information about the llvm-bugs mailing list