[PATCH] D121089: [pseudo] empty parameter-declaration should be allowed in lambda declarator.
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 7 11:17:13 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd5b8ecbd33c9: [pseudo] empty parameter-declaration should be allowed in lambda declarator. (authored by hokein).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121089/new/
https://reviews.llvm.org/D121089
Files:
clang/lib/Tooling/Syntax/Pseudo/cxx.bnf
Index: clang/lib/Tooling/Syntax/Pseudo/cxx.bnf
===================================================================
--- clang/lib/Tooling/Syntax/Pseudo/cxx.bnf
+++ clang/lib/Tooling/Syntax/Pseudo/cxx.bnf
@@ -69,7 +69,7 @@
lambda-expression := lambda-introducer lambda-declarator_opt compound-statement
lambda-expression := lambda-introducer < template-parameter-list > requires-clause_opt lambda-declarator_opt compound-statement
lambda-introducer := [ lambda-capture_opt ]
-lambda-declarator := ( parameter-declaration-clause ) decl-specifier-seq_opt noexcept-specifier_opt trailing-return-type_opt requires-clause_opt
+lambda-declarator := ( parameter-declaration-clause_opt ) decl-specifier-seq_opt noexcept-specifier_opt trailing-return-type_opt requires-clause_opt
lambda-capture := capture-default
lambda-capture := capture-list
lambda-capture := capture-default , capture-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121089.413562.patch
Type: text/x-patch
Size: 889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220307/dff5029d/attachment.bin>
More information about the cfe-commits
mailing list