[PATCH] D82485: Add tests for sequences of callbacks that RecursiveASTVisitor produces

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 24 11:21:50 PDT 2020


gribozavr created this revision.
Herald added subscribers: cfe-commits, mgorny.
Herald added a project: clang.
gribozavr2 added reviewers: ymandel, eduucaldas.

These tests show a bug: post-order traversal introduces an extra call to
WalkUp*, that is not present in pre-order traversal. I'm fixing this bug
in a follow-up commit.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82485

Files:
  clang/unittests/Tooling/CMakeLists.txt
  clang/unittests/Tooling/RecursiveASTVisitorTests/Callbacks.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82485.273105.patch
Type: text/x-patch
Size: 18566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200624/3da18dcf/attachment-0001.bin>


More information about the cfe-commits mailing list