[PATCH] D154368: [Clang] Fix constraint checking of non-generic lambdas.

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 4 00:39:04 PDT 2023


cor3ntin updated this revision to Diff 536976.
cor3ntin added a comment.

- Move the check for lambda conversion operator in CheckFunmctionConstraints so that it is always performed.

- Add tests of constraints referring to parameters of the lambda


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154368/new/

https://reviews.llvm.org/D154368

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaConcept.cpp
  clang/lib/Sema/SemaLambda.cpp
  clang/lib/Sema/SemaOverload.cpp
  clang/test/SemaTemplate/concepts.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154368.536976.patch
Type: text/x-patch
Size: 13161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230704/125a4dc4/attachment.bin>


More information about the cfe-commits mailing list