[PATCH] D147070: Improve requirement clause limitation on non templated function

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 28 12:40:01 PDT 2023


erichkeane updated this revision to Diff 509101.
erichkeane added a comment.

Took Corentin's advice and tried to test the lambda condition.  THIS made me discover that we didn't properly implement this for lambdas at all!  So this patch NOW also implements the restriction for lambdas.

@cor3ntin : Please double check on this for me?  I had to touch some lambda tests you worked on.


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

https://reviews.llvm.org/D147070

Files:
  clang/docs/ReleaseNotes.rst
  clang/lib/Sema/SemaDecl.cpp
  clang/lib/Sema/SemaLambda.cpp
  clang/test/CXX/dcl.decl/dcl.decl.general/p4-20.cpp
  clang/test/Parser/cxx2b-lambdas.cpp
  clang/test/SemaCXX/lambda-capture-type-deduction.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147070.509101.patch
Type: text/x-patch
Size: 7293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230328/fb3d2111/attachment.bin>


More information about the cfe-commits mailing list