[LLVMbugs] [Bug 9615] Missing destructor call on objects returned from operator->
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Apr 3 18:37:26 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9615
Eli Friedman <sharparrow1 at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Eli Friedman <sharparrow1 at yahoo.com> 2011-04-03 20:37:26 CDT ---
r128806.
Basically, the bug is exactly as you stated in the summary: clang wasn't
destroying temporaries returned by operator->, period. In terms of a
workaround, you could hack up Accessor with a doit() method, I guess... it
depends on what your original code looks like.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list