[llvm-bugs] [Bug 41991] c++2a: attributes on defaulted friend functions incorrectly rejected
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jan 30 17:45:45 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=41991
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
This bug goes all the way back to C++11; we incorrectly reject this too:
struct attrs {
[[noreturn]] friend void deleted_with_attrs() = delete;
};
Fixed for Clang 10 in llvmorg-10.0.0-rc1-4-g0ce7ea7c6e0
Fixed for Clang 11 in llvmorg-11-init-1645-g5ae6554a1dc
--
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/20200131/c262f70e/attachment.html>
More information about the llvm-bugs
mailing list