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

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


================
@@ -5582,6 +5582,20 @@ <h2 id="narrowing-matchers">Narrowing Matchers</h2>
 </pre></td></tr>
 
 
+<tr><td>Matcher<<a href="https://clang.llvm.org/doxygen/classclang_1_1StringLiteral.html">StringLiteral</a>></td><td class="name" onclick="toggle('matches0')"><a name="matchesName0A">matches</a></td><td>StringRef RegExp, Regex::RegexFlags Flags = NoFlags</td></tr>
----------------
danix800 wrote:

```suggestion
<tr><td>Matcher<<a href="https://clang.llvm.org/doxygen/classclang_1_1StringLiteral.html">StringLiteral</a>></td><td class="name" onclick="toggle('matches0')"><a name="matches0A">matches</a></td><td>StringRef RegExp, Regex::RegexFlags Flags = NoFlags</td></tr>
```

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


More information about the cfe-commits mailing list