<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:llvm@boxie.eu" title="Christian Maaser <llvm@boxie.eu>"> <span class="fn">Christian Maaser</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - incorrect weak-vtables warning on abstract base class"
href="https://bugs.llvm.org/show_bug.cgi?id=35944">bug 35944</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;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - incorrect weak-vtables warning on abstract base class"
href="https://bugs.llvm.org/show_bug.cgi?id=35944#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - incorrect weak-vtables warning on abstract base class"
href="https://bugs.llvm.org/show_bug.cgi?id=35944">bug 35944</a>
from <span class="vcard"><a class="email" href="mailto:llvm@boxie.eu" title="Christian Maaser <llvm@boxie.eu>"> <span class="fn">Christian Maaser</span></a>
</span></b>
<pre>The reason for this warning seems to be that a pure virtual destructor's
definition cannot be key function for where to place the vtable. See
<a href="https://stackoverflow.com/questions/28786473/clang-no-out-of-line-virtual-method-definitions-pure-abstract-c-class/40550578">https://stackoverflow.com/questions/28786473/clang-no-out-of-line-virtual-method-definitions-pure-abstract-c-class/40550578</a>
and
<a href="http://clang.llvm.org/doxygen/classclang_1_1ASTContext.html#a439522ed0cae62952acae5f30f283de2">http://clang.llvm.org/doxygen/classclang_1_1ASTContext.html#a439522ed0cae62952acae5f30f283de2</a>
<span class="quote">> NOTE: In the abstract, a pure virtual destructor could be used as the key
> function, as it must be defined even though it is pure. However, the ABI
> committee did not realize this fact until after the specification of key
> function was complete; therefore a pure virtual destructor cannot be the
> key function.</span ></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>