[PATCH] D73029: Extend ExprTraversal class with acending traversal

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 20 04:07:58 PST 2020


steveire created this revision.
steveire added a reviewer: aaron.ballman.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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

Files:
  clang/include/clang/AST/ASTContext.h
  clang/include/clang/AST/ExprTraversal.h
  clang/lib/AST/ASTContext.cpp
  clang/lib/AST/ExprTraversal.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73029.239066.patch
Type: text/x-patch
Size: 5843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200120/c63759b8/attachment.bin>


More information about the cfe-commits mailing list