[PATCH] D128687: [pseudo] Allow mixed designated/undesignated init lists.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 28 06:44:55 PDT 2022
sammccall marked an inline comment as done.
sammccall added inline comments.
Comment at: clang-tools-extra/pseudo/lib/cxx.bnf:468
designator := . IDENTIFIER
+designator := [ expression ]
expr-or-braced-init-list := expression
> I think this is the syntax of gnu extension, can we add a trailing comment for this rule?
Done - these are actually also legal in C. Also added to commit message.
(I don't love using trailing comments in this file - they feel hard to spot).
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits