<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/117431>117431</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
move `AST_MATCHER(VarDecl, isLocal) { return Node.isLocalVarDecl(); }` to ast-matcher
</td>
</tr>
<tr>
<th>Labels</th>
<td>
good first issue,
clang-tidy
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
HerrCai0907
</td>
</tr>
</table>
<pre>
`isLocal` used in some of tidy's check. I think maybe we can move it to some common part. e.g. ast-matcher or clang-tidy/utils folder.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxMkc2O2zoMhZ-G3hAxZMqx4oUW-bnGXKDtoh10W8gyY6sjW4Ekp8jbF8mk7ay44OHh4UeTkhsXZg3bA2xPhVnzFKJ-4RiPxolWqKIPw01DI1z6FKzx0AhcEw_oFkxhZgxnzG64AamEdmL7VuL_mCe3vOFsbj3jL0ZrFpzDldFlzOF9zoZ5DgteTMwlcjmWaFLezCbbiSOGiNabZdy8e3drdj7hOfiBY1kMWg6tbE3BulKSZCPldldM2hpFdW2M2vEghqauRa8qUTWiPpOoaVs4TYLqqiJZkSC5K8-CKzZq2whlWFUt1IJn43zp_XUuQxwLl9LKuqpULavCm559etAiGkMY8OxiyvgQARHQEYg-Jqc71qjvdpt-HRPUwruU078F2WXP-oEHGrH_9vrj8_71-PLfV6DddxNPbD3QEf_wpxZBHTByXuOCX8LA5bP1V7wDakEeENTp_q4cPqIt1uj1lPMlgdwDdUDd6PK09qUNM1B3z_Usm0sMP9lmoO5xYALqniCumn4HAAD__7ixtKw">