[llvm-bugs] [Bug 45745] Clang supports immediate functions but doesn't define __cpp_consteval

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 29 12:44:57 PDT 2020


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

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

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

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Clang doesn't yet have a complete implementation of consteval, so we
intentionally do not yet advertise support for it. For example, we don't yet
implement the ABI rule for consteval virtual functions, and we will in many
cases emit runtime code to compute the value of a call to a consteval function.

While the support in Clang trunk may do the right thing in a lot of cases, we
would suggest you don't rely on it until we start advertising that the
implementation is complete.

-- 
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/20200429/36b1dece/attachment.html>


More information about the llvm-bugs mailing list