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

Yu Hao via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 21 11:19:10 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:

Thanks! Done.

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


More information about the cfe-commits mailing list