<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/95711>95711</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            report `modernize-use-trailing-return-type` for lambdas
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            enhancement,
            clang-tidy
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          firewave
      </td>
    </tr>
</table>

<pre>
    ```cpp
void f()
{
    auto f = []() /*-> bool*/ {
        return false;
 };
}
```

Currently no warning is generated for the code above.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUUdGOpCoQ_ZryhdjBEml54KFn-vofKKVyg2AAe9L79ZtuZ3azhMCpAg5V55ic3RKINHQf0N0rc5Q1Jj27RF_mQdUY7VOD5Oec9h34HfjtEZ1lM2APqM4MXD9OwBhj5iiRzQzaOzt5z5sMcAC81dD-x8YYPeANcGD_PH2NROVIgc3GZ4L25xCu9z_BC5_gp7Tv8L1-HilRKP7JQmRfJgUXFuYyWyhQMoUsm2NiZSU2RUvMjPFBl8rq1qpWmYp0c236rut6oapV4ySE6sRorexkr3ophLE0K8HbsW2mqXIaOQouG9nI9orqYlH0VhKXSjZKNRwEp804f_H-sV1iWiqX80FaddemqbwZyee3AYgUVhMm2igUQAT8BMTJm7DUxdnnK9Xdq6RfRPV4LBkE9y6X_Je6uOJJJ9pjKgwk36KlFNwvqo9MdUnGeReW-tS4Ls-dQPK3IN5sozW5OpLXayl7hvb2dmxYXFmP8TLFDXB4_fS91XuK_9NUAId3RxlwOJt6aPwdAAD__0AKspc">