[PATCH] D82278: Fix traversal over CXXConstructExpr in Syntactic mode

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 21 07:25:09 PDT 2020


steveire created this revision.
steveire added reviewers: klimek, ymandel.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Skip over elidable nodes, and ensure that intermediate
CXXFunctionalCastExpr nodes are also skipped if they are semantic.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82278

Files:
  clang-tools-extra/clang-tidy/bugprone/ThrowKeywordMissingCheck.cpp
  clang-tools-extra/clang-tidy/bugprone/UnusedRaiiCheck.cpp
  clang/lib/AST/Expr.cpp
  clang/lib/AST/ParentMapContext.cpp
  clang/unittests/AST/ASTTraverserTest.cpp
  clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
  clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82278.272309.patch
Type: text/x-patch
Size: 13462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200621/10c1edcc/attachment-0001.bin>


More information about the cfe-commits mailing list