hokein created this revision. hokein added a reviewer: sammccall. Herald added a project: All. hokein requested review of this revision. Herald added a subscriber: alextsao1999. Herald added a project: clang.
This was an oversight, as we did a avoild-nullable modication to parameter-declaration-clause. Repository: rG LLVM Github Monorepo 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
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
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits