[PATCH] D90659: [Syntax] Tablegen Sequence classes. NFC
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 2 18:25:35 PST 2020
sammccall created this revision.
sammccall added reviewers: eduucaldas, gribozavr2, hokein.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
sammccall requested review of this revision.
Similar to the previous patch, this doesn't convert *all* the classes that
could be converted. It also doesn't enforce any new invariants etc.
It *does* include some data we don't use yet: specific token types that are
allowed and optional/required status of sequence items. (Similar to Dmitri's
prototype). I think these are easier to add as we go than later, and serve
a useful documentation purpose.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D90659
Files:
clang/include/clang/Tooling/Syntax/Nodes.h
clang/include/clang/Tooling/Syntax/Nodes.td
clang/include/clang/Tooling/Syntax/Syntax.td
clang/lib/Tooling/Syntax/Nodes.cpp
clang/utils/TableGen/ClangSyntaxEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90659.302443.patch
Type: text/x-patch
Size: 13703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201103/cdb90584/attachment.bin>
More information about the cfe-commits
mailing list