[all-commits] [llvm/llvm-project] a1a1a7: [pseudo] Eliminate an ambiguity for the empty memb...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Fri Aug 12 04:48:03 PDT 2022
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2022-08-12 (Fri, 12 Aug 2022)
[pseudo] Eliminate an ambiguity for the empty member declaration.
We happened to introduce a `member-declaration := ;` rule
when inlining the `member-declaration := decl-specifier-seq_opt
And with the `member-declaration := empty-declaration` rule, we had two parses of `;`.
This patch is to restrict the grammar to eliminate the
`member-declaration := ;` rule.
Differential Revision: https://reviews.llvm.org/D131724
More information about the All-commits