[llvm-bugs] [Bug 46022] if constexpr not working within a coroutine
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri May 22 11:06:41 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46022
Niall Douglas <s_bugzilla at nedprod.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #4 from Niall Douglas <s_bugzilla at nedprod.com> ---
Heard back from Core. The presence of the "co_return" token is to unambiguously
make a function a Coroutine, no matter what. Stupid, but that's what the
standard says, so closing this as invalid.
--
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/20200522/22312556/attachment-0001.html>
More information about the llvm-bugs
mailing list