[PATCH] D72446: [Syntax] Build mapping from AST to syntax tree nodes
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 9 05:50:08 PST 2020
ilya-biryukov created this revision.
ilya-biryukov added a reviewer: gribozavr2.
Herald added a project: clang.
ilya-biryukov updated this revision to Diff 237039.
ilya-biryukov added a comment.
ilya-biryukov added a parent revision: D72334: [Syntax] Build nodes for template declarations..
Remove the (now redundant) NodeAndRole class
Only used to assign roles to child nodes for now. This is more efficient
than doing range-based queries.
In the future, will be exposed in the public API of syntax trees.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D72446
Files:
clang/include/clang/Tooling/Syntax/Tree.h
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/lib/Tooling/Syntax/Tree.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72446.237039.patch
Type: text/x-patch
Size: 28423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200109/454d068e/attachment-0001.bin>
More information about the cfe-commits
mailing list