The ExprWithCleanups node is added to the AST along with the elidable
CXXConstructExpr. If it is the outermost node of the node being matched, ignore
it as well.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 36443 Build 36442: arc lint + arc unit
Event Timeline
Comment Actions
Thanks for the comments. I struggled with the wording so your edits are appreciated.
clang/include/clang/ASTMatchers/ASTMatchers.h | ||
---|---|---|
6556–6557 | Done Also, I noticed that the matcher is classified as "Traversal" yet its tests are in ASTMatchersNarrowingTest.cpp. Any objection to my moving the tests to ASTMatchersTraversalTest.cpp as a followup patch? |
clang/include/clang/ASTMatchers/ASTMatchers.h | ||
---|---|---|
6556–6557 | That would make a lot of sense, thank you! |
"elide these differences" => "abstract over these differences"?