[all-commits] [llvm/llvm-project] aacefc: [pseudo] Simplify/loosen the grammar around lambda...
Sam McCall via All-commits
all-commits at lists.llvm.org
Tue Jun 28 06:56:40 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aacefc817d9385835db5b5e30a21687ddb4f3f93
https://github.com/llvm/llvm-project/commit/aacefc817d9385835db5b5e30a21687ddb4f3f93
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2022-06-28 (Tue, 28 Jun 2022)
Changed paths:
M clang-tools-extra/pseudo/lib/cxx.bnf
A clang-tools-extra/pseudo/test/cxx/capture-list.cpp
Log Message:
-----------
[pseudo] Simplify/loosen the grammar around lambda captures.
Treat captures as a uniform list, rather than default-captures being special
snowflakes that may only appear at the start.
This accepts a larger set of (incorrect) code, and simplifies error-handling
by making this fit into the usual homogeneous-list pattern.
Differential Revision: https://reviews.llvm.org/D128708
More information about the All-commits
mailing list