[PATCH] D82875: Added tests for RecursiveASTVisitor for AST nodes that are special cased
Dmitri Gribenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 1 04:49:42 PDT 2020
gribozavr2 marked an inline comment as done.
gribozavr2 added inline comments.
================
Comment at: clang/unittests/Tooling/RecursiveASTVisitorTests/Callbacks.cpp:501
WalkUpFromStmt IntegerLiteral(1)
-WalkUpFromBinaryOperator BinaryOperator(+)
- WalkUpFromExpr BinaryOperator(+)
- WalkUpFromStmt BinaryOperator(+)
+WalkUpFromUnaryOperator UnaryOperator(-)
+ WalkUpFromExpr UnaryOperator(-)
----------------
eduucaldas wrote:
> A question came to mind: " Does WalkUpFromUnaryMinus walk up to WalkUpFromUnaryOperator? " Perhaps that could be included in a test.
Good question -- but it is already covered by the `StmtCallbacks_WalkUpFromUnaryMinus` test.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82875/new/
https://reviews.llvm.org/D82875
More information about the cfe-commits
mailing list