[llvm-bugs] [Bug 47843] clang accepts an abstract class in function return type

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 14 14:38:07 PDT 2020


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

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

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Clang is correct; the rule in question was changed a couple of years back,
because the previous rule was problematic / broken. See
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0929r2.html

I guess GCC doesn't yet implement the new rule.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201014/79187d28/attachment.html>


More information about the llvm-bugs mailing list