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.
Paths
| Differential D72446
[Syntax] Build mapping from AST to syntax tree nodes ClosedPublic Authored by ilya-biryukov on Jan 9 2020, 5:43 AM.
Details
Summary Only used to assign roles to child nodes for now. This is more efficient In the future, will be exposed in the public API of syntax trees.
Diff Detail
Event Timelineilya-biryukov added a parent revision: D72334: [Syntax] Build nodes for template declarations..Jan 9 2020, 5:47 AM gribozavr2 added inline comments. This revision is now accepted and ready to land.Jan 14 2020, 9:55 AM Comment Actions Taking over the patch in https://reviews.llvm.org/D76355.
Revision Contents
Diff 237042 clang/include/clang/Tooling/Syntax/Tree.h
clang/lib/Tooling/Syntax/BuildTree.cpp
clang/lib/Tooling/Syntax/Tree.cpp
|
Also assert that From is not null either?