[clang] [clang][ASTMatcher] Add matcher for 'matches' (PR #102152)

Ding Fei via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 6 19:27:57 PDT 2024


================
@@ -288,6 +288,8 @@ AST Matchers
 - Fixed an issue with the `hasName` and `hasAnyName` matcher when matching
   inline namespaces with an enclosing namespace of the same name.
 
+- Add ``matches``.
----------------
danix800 wrote:

```suggestion
- Add `matches` for `StringLiteral` which matches literals on given `RegExp`.
```

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


More information about the cfe-commits mailing list