[clang] [clang][ASTMatchers] Add `arrayTypeLoc` ast matcher for ArrayTypeLoc (PR #168990)

Yu Hao via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 24 13:54:27 PST 2025


================
@@ -7003,6 +7003,19 @@ AST_MATCHER_P(ReferenceTypeLoc, hasReferentLoc, internal::Matcher<TypeLoc>,
   return ReferentMatcher.matches(Node.getPointeeLoc(), Finder, Builder);
 }
 
+/// Matches `ArrayTypeLoc`s.
----------------
yuhaouy wrote:

@AaronBallman I've add more changes based on your comments. Can you please take a look and merge the pull request?

https://github.com/llvm/llvm-project/pull/168990


More information about the cfe-commits mailing list