[PATCH] D90540: [Syntax] Add minimal TableGen for syntax nodes. NFC
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 31 13:10:13 PDT 2020
sammccall created this revision.
sammccall added reviewers: eduucaldas, gribozavr, hokein.
Herald added subscribers: cfe-commits, mgrang, mgorny.
Herald added a project: clang.
sammccall requested review of this revision.
So far, only used to generate Kind and implement classof().
My plan is to have this general-purpose Nodes.inc in the style of AST
DeclNodes.inc etc, and additionally a special-purpose backend generating
the actual class definitions. But baby steps...
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D90540
Files:
clang/include/clang/CMakeLists.txt
clang/include/clang/Tooling/Syntax/CMakeLists.txt
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/lib/Tooling/Syntax/Tree.cpp
clang/utils/TableGen/CMakeLists.txt
clang/utils/TableGen/ClangSyntaxEmitter.cpp
clang/utils/TableGen/TableGen.cpp
clang/utils/TableGen/TableGenBackends.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90540.302110.patch
Type: text/x-patch
Size: 46164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201031/19e02d53/attachment-0001.bin>
More information about the cfe-commits
mailing list