<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/102623>102623</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
`clang-tidy`: The `modernize-use-default-member-init` check doesn't work on the example snippet in the docs
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-tidy
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
torokati44
</td>
</tr>
</table>
<pre>
Running this check on the example snippet for this check at https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html, I expect to find the warnings and corresponding fix-its, however, I get nothing.
```cpp
struct A {
A() : i(5), j(10.0) {} // <- Deleting either of these two lines
A(int i) : i(i), j(10.0) {} // <- makes the check find the other one.
int i;
double j;
};
```
This possibly regressed with https://github.com/llvm/llvm-project/commit/051847cfecaea3f55fc4f822facfbf5d21bde8dd.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU82OszgQfBpzaYHA_ObAIfNFkfa6mhcwdgOeMTaym0lmn37lkEmileawCIFp466u7ioRgp4sYs_qN1afErHR7HxPzrtPQbqqksGp7_7vzVptJ6BZB5Azyk9wFmhGwKtYVoMQrF5XJBidf_1LEMxEa2DlkfEz42dphJ0yY76WzPmJ8TNeyYufjZS0-o4f8XBg_Lw4hd7qf5Dx8xYwVTiKzVC64DKgT7XVlM20GMb_wF-A1xUlATkYtVW3-i7Cx8oDCKtAOu8xrM6qSGbU11RTiEdnd8Ev9HuWCQmso1nbKWP5ieXH-7PJ91uu6x4J5DdJcATWvu0RgCPjHeMHYOURNONdzfgh5v1gvCvyLL_ttW-sPcHt2tsCrPyTwgkNUiwNNc3owY2RQ0CgiwOjLYZXFG0pIjyh9O9QryiL-MRwa84-o0ev3A5qMfuB2SHKBznltsEgfDxCrD091z_9eW3ae9TC6kLQg_kGj5PHEFDBRdP8H2lMmuZtyKRbGD9Hhdxf6erdB0qKunDLouMir4uuauWIUqAox7oeZTV2nI9CjsNYK14MCjulskT1pTqUB5FgX7S85EXZ8jKZe6kG1YhiRKzatpP1qIb6UBZtVaqmQsUT3fOcV3mXH4qKd1WZDY2sKlHUh3KshCo6VuW4CG0eak50CBv2Rc4bXiZGDGjCzVicv6qbR6P5_kZt2KbAqtzoQOGZhzQZ7KPSnseaPI75fUZgTf6wRfqLKViT36erHAbLeEtwcf5X2-o9rJwMyeZN_78nc6MeHXtn_9XzfwMAAP__qn5a-g">