<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:george.burgess.iv@gmail.com" title="George Burgess <george.burgess.iv@gmail.com>"> <span class="fn">George Burgess</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - [fuzz] Assertion `(Destructor->isDefaulted() && !Destructor->doesThisDeclarationHaveABody() && !Destructor->isDeleted()) && "DefineImplicitDestructor - call it for implicit default dtor"' failed."
href="https://llvm.org/bugs/show_bug.cgi?id=21961">bug 21961</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>george.burgess.iv@gmail.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - [fuzz] Assertion `(Destructor->isDefaulted() && !Destructor->doesThisDeclarationHaveABody() && !Destructor->isDeleted()) && "DefineImplicitDestructor - call it for implicit default dtor"' failed."
href="https://llvm.org/bugs/show_bug.cgi?id=21961#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - [fuzz] Assertion `(Destructor->isDefaulted() && !Destructor->doesThisDeclarationHaveABody() && !Destructor->isDeleted()) && "DefineImplicitDestructor - call it for implicit default dtor"' failed."
href="https://llvm.org/bugs/show_bug.cgi?id=21961">bug 21961</a>
from <span class="vcard"><a class="email" href="mailto:george.burgess.iv@gmail.com" title="George Burgess <george.burgess.iv@gmail.com>"> <span class="fn">George Burgess</span></a>
</span></b>
<pre>Seems to have been fixed at some point ($clangpp is clang at r284690):
$ echo 'struct A {
~A() = delete;
~A() = default;
};' | $clangpp -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm -
<stdin>:3:3: error: destructor cannot be redeclared
~A() = default;
^
<stdin>:2:3: note: previous definition is here
~A() = delete;
^
1 error generated.
$ echo 'struct A {
A() = delete;
A() = default;
};' | $clangpp -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm -
<stdin>:3:3: error: constructor cannot be redeclared
A() = default;
^
<stdin>:2:3: note: previous definition is here
A() = delete;
^
1 error generated.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>