[PATCH] D116328: [ast-matchers] Add hasSubstmt() traversal matcher for caseStmt(), defaultStmt(), labelStmt()

Richard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 29 08:51:29 PST 2021


LegalizeAdulthood updated this revision to Diff 396542.
LegalizeAdulthood retitled this revision from "[ast-matchers] Add hasSubstmt() traversal matcher for caseStmt(), defaultStmt()" to "[ast-matchers] Add hasSubstmt() traversal matcher for caseStmt(), defaultStmt(), labelStmt()".
LegalizeAdulthood edited the summary of this revision.
LegalizeAdulthood added a comment.

Update to include labelStmt()
Move the unit tests to ASTMatchersTraversalTest.cpp


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

https://reviews.llvm.org/D116328

Files:
  clang/docs/LibASTMatchersReference.html
  clang/include/clang/ASTMatchers/ASTMatchers.h
  clang/lib/ASTMatchers/Dynamic/Registry.cpp
  clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116328.396542.patch
Type: text/x-patch
Size: 7403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211229/72fe8ce4/attachment.bin>


More information about the cfe-commits mailing list