[LLVMbugs] [Bug 7556] New: Temporary object with trivial destructor but non-trivial destructor isn't getting destroyed
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jul 2 10:20:36 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7556
Summary: Temporary object with trivial destructor but
non-trivial destructor isn't getting destroyed
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: dgregor at apple.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
terfin:clang dgregor$ cat t.cpp
struct A { ~A(); }; void foo() { A(); }
terfin:clang dgregor$ clang++ -cc1 -ast-dump t.cpp
<snip>
void foo() (CompoundStmt 0x104c0fa60 <t.cpp:1:32, col:39>
(CXXZeroInitValueExpr 0x104c10c30 <col:34, col:36> 'struct A'))
--
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