[PATCH] D82486: RecursiveASTVisitor: don't call WalkUp unnecessarily in post-order traversal

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 26 08:10:27 PDT 2020


ymandel accepted this revision.
ymandel added inline comments.


================
Comment at: clang/include/clang/AST/RecursiveASTVisitor.h:646
+     * receives a DataRecursionQueue, can't call WalkUpFrom after traversing   \
+     * children because it only enqueues the children. and does not traverse   \
+     * them. TraverseStmt traverses the enqueued children, and we call         \
----------------
delete stray period after "children"


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82486/new/

https://reviews.llvm.org/D82486





More information about the cfe-commits mailing list