[PATCH] D73388: Implement AST node skipping in ParentMapContext

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 24 16:09:26 PST 2020


steveire created this revision.
steveire added reviewers: aaron.ballman, rsmith, rnk.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
steveire updated this revision to Diff 240318.
steveire added a comment.

constness


This allows ASTContext to store only one parent map, rather than storing
an entire parent map for each traversal mode used.

This is therefore a partial revert of commit 0a717d5b <https://reviews.llvm.org/rG0a717d5b5d31fc2d5bc98ca695031fb09e65beb0> (Make it possible
control matcher traversal kind with ASTContext, 2019-12-06).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73388

Files:
  clang/include/clang/AST/ParentMapContext.h
  clang/lib/AST/ParentMapContext.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73388.240318.patch
Type: text/x-patch
Size: 5185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200125/586d60e9/attachment.bin>


More information about the cfe-commits mailing list