[C++20] Support for lambdas in unevaluated context
authorCorentin Jabot <corentin.jabot@gmail.com>
Mon, 28 Jun 2021 13:00:45 +0000 (09:00 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 28 Jun 2021 13:01:56 +0000 (09:01 -0400)
commit22aa3680eaccb9b77ca224711c4da3a354aa2d45
tree8353fbaa8419bc7c7a208a5bf7f936580b65a36e
parent5cf27532fa6f8b01acd0bd5401ce933b2eba0688
[C++20] Support for lambdas in unevaluated context

Partially implement P0315R4.

This patch allow lambda in unevaluated context.
It does not implement temp.deduct/9.
clang/lib/Sema/SemaConcept.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/SemaCXX/anonymous-struct.cpp
clang/test/SemaCXX/lambda-unevaluated.cpp [new file with mode: 0644]
clang/www/cxx_status.html