[PATCH] D76355: [Syntax] Build mapping from AST to syntax tree nodes

Marcel Hlopko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 18 05:56:49 PDT 2020


hlopko created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
hlopko edited the summary of this revision.
hlopko added a parent revision: D76346: [Syntax] Build template declaration nodes.

Copy of https://reviews.llvm.org/D72446, submitting with Ilya's permission.

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/D76355

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: D76355.251046.patch
Type: text/x-patch
Size: 28399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200318/7562dd86/attachment-0001.bin>


More information about the cfe-commits mailing list