[PATCH] D98433: [clang] [C++2b] [P1102] Accept lambdas without parameter list ().
Marek Kurdej via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 19 01:41:44 PDT 2021
curdeius updated this revision to Diff 331795.
curdeius added a comment.
- Accept but warn in pre-C++2b mode when lambda is missing '()' and have lambda-specifiers.
- Fix tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98433/new/
https://reviews.llvm.org/D98433
Files:
clang/include/clang/Basic/DiagnosticParseKinds.td
clang/lib/Parse/ParseExprCXX.cpp
clang/test/CXX/expr/expr.prim/expr.prim.lambda/p4-1y.cpp
clang/test/FixIt/fixit-c++11.cpp
clang/test/Parser/cxx-concepts-requires-clause.cpp
clang/test/Parser/cxx0x-lambda-expressions.cpp
clang/test/Parser/cxx1z-constexpr-lambdas.cpp
clang/test/Parser/cxx2a-template-lambdas.cpp
clang/test/Parser/cxx2b-lambdas.cpp
clang/test/SemaOpenCLCXX/address-space-lambda.cl
clang/www/cxx_status.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98433.331795.patch
Type: text/x-patch
Size: 26055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210319/f66681ef/attachment-0001.bin>
More information about the cfe-commits
mailing list