[llvm] [PatternMatch] Add support for capture-and-match (NFC) (PR #149825)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 22 04:34:03 PDT 2025


================
@@ -822,12 +822,47 @@ template <typename Class> struct bind_ty {
   }
 };
 
+template <typename Class, typename MatchTy> struct bind_and_match_ty {
----------------
fhahn wrote:

Sounds good to leave it as is, perhaps with a brief comment.

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


More information about the llvm-commits mailing list