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

Christian Maaser <l...@boxie.eu> changed:

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

--- Comment #1 from Christian Maaser <l...@boxie.eu> ---
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 
https://stackoverflow.com/questions/28786473/clang-no-out-of-line-virtual-method-definitions-pure-abstract-c-class/40550578
and
http://clang.llvm.org/doxygen/classclang_1_1ASTContext.html#a439522ed0cae62952acae5f30f283de2

> 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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to