[llvm-bugs] [Bug 52073] Incorrect ODR error with lambda of unevaluated context of c++20

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 8 13:56:17 PDT 2021


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

           What    |Removed                     |Added
         Resolution|---                         |FIXED
 Fixed By Commit(s)|                            |7ac308fb8f283249b89851702aa
                   |                            |07f3ed9ac86d4
             Status|NEW                         |RESOLVED

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Fixed, but this example still doesn't work properly: the lambda expressions are
instantiated into the context of the template not of the template
specialization, so we incorrectly think they're dependent types and can't
actually constant-evaluate a call to them.

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/20211008/d0dd4db7/attachment.html>

More information about the llvm-bugs mailing list