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

    <tr>
        <th>Summary</th>
        <td>
            Add support for .clang-tidy files to support the --line-filter option
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    Currently `clang-tidy` supports the `--line-filter` option via the command line. However, when clang-tidy is ran from, say, `clangd`, then it is not possible to provide any command line options for `clang-tidy`. One of these (important) parameters is the `--line-filter` option.

I would like to request the `--line-filter` option to also be available as a `.clang-tidy` file configuration option. Which results in `clangd`'s usage of `clang-tidy` to respect the `.clang-tidy` file and thus the `--line-filter` option.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyFUsGOmzAQ_Rq4jIKICSQcOKS7WrWnHnt28ABujU09JlH-vmM36TbdaleywNa8mffezJycunZPq_dog7lC1pS9kXbcBK2u_ABal8X5QBAmjNHNxmiLm0GbgD4C3BK0s3DWMkF6N8_SKoioAj67C54ZJ57gMqGF19qgCby0MHg3xzDJa_zd-RVf4jvELB0i2roAiyPSJ4MQHCzenbVCkPb6wHpTRDA4_8ZPAV8jYoiFiQ2Jg56jP2lDJlpYpJczsjOKjO9bLrLyOSuPv79f4OJWEwX8SOI8_lyRwkddY6Q05ODENs5SGxm9SQIZk4rHSXBybK8d9Lh6mdJvQuDbpPuJOWk1PClt_2njnmAlOSbfbwacxNKC_R-x_-ONzQ3T-mFPcuy2TdPu2-Yg2lx1lWqrVuZBB4PdUan7PqXh_EWUWCiKuQMi0QPLjSJfvemmEBbKqmMmXviMmqWdij5u0osx5_tvwyvynY3xUxPxPPhSt6Kp8qlrtwdVD_KApWp3gs-uEbWqWLpCudtjzrNAQ11Wf8qEsHiBVILvWf2c606UQmy3VVkexL5si-3uVHM52Q6q2vfYZrsSZx5oEXUUzo-575Kk0zoSB42mQK9ByWs9WsREx_XlGibnOyV5L_U8o88Te5fU_wJUUzrj">