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

Richard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 27 23:25:32 PST 2021


LegalizeAdulthood added a comment.

I think while implementing this I got a little confused as to whether or not it was a narrowing or traversal matcher.  It feels like a traversal matcher to me.

If someone would confirm my reasoning, I'd appreciate it.  That means I should probably move the unit tests to the traversal tests file.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116328



More information about the cfe-commits mailing list