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

    <tr>
        <th>Summary</th>
        <td>
            clangd --query-driver glob syntax should be documented
        </td>
    </tr>

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

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

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

<pre>
    The [parser for --query-driver arguments](https://github.com/llvm/llvm-project/blob/fd4afa7a29061e51e8b18e83afa5c5172ee76aa0/clang-tools-extra/clangd/QueryDriverDatabase.cpp#L273) has the following characteristics:

- Performs textual matching on path strings (as opposed to e.g. parsing and comparing logical filesystem locations)
- Interprets "*" to mean any sequence of non-slash characters
- Interprets "**" to mean any sequence of characters
- Is case sensitive on all platforms (I think?)
- Accepts both slashes and backslashes as separators on Windows

This should be [documented](https://github.com/llvm/clangd-www/) so that (for example) people like me won't lose an hour or two debugging their configuration, finally chasing the problem down to the fact that "--query-driver=/**/*" is not an appropriate glob string on Windows :)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVk0GPmzAQhX8NuVhExAQIBw7bjSKtVFWtVKnnwQzgrrGpx2w2_75jku1uq2rVSlHAxn5-871x67pL83VEkRQfZvCEXvTOizT9saC_pJ3XTzwFflgmtIGS4pjIwxjCTEl-l8gT_wYdxqXdKjfxwJinl0c6e_cdVeBha1zLj77bQw8VyDord1js8NDuDnjIebJQxa6SiFUJkPFSZcAOaXDOUIrPwcPLXMcvX6K342rtCAFaINyqeU5k_lFWeSJrMQKJwFX1zhh31nYQagQPKqDXFLRa3WfHJLv9p-Izei584m183AJGTBDUGHc6K2YIo6DgeUiCAbC6m2dH2IngBG6HrYjw4mqwnWAUPIwj4watWKzXBulCASeeUhC0s8Q-Xw5_sGxs9hiiukwkk5VReUKwrHgRhJyHVShcL6yzKRmg8bUmekfoXa2_KJBQzJNXWdKBEcf6wRgxGwhXQgzggelq-5jkpzdV3CmFM5_cukgrOkRaebSgHn-NiaWZDgTnKWp_07ZzZ3qbxtdR86rRLYb3rq3ZObU2IHb_2oHXZknP5_O6phbk2DOE6D52OD7DNBuMX2Z0_CaMfkSmJM7OJrIKHBRjYGbswwveEc5OdNguwxCT5e7SnpO2vR4WvyaayHsO2jKsSwRLt2WC70FrOHku08Yk1sZk6i9-5O-3LcmPq-VrdqdbgkzEuhD9wMyCs9cQUAx8sW6N-YalWMnUm67JuzqvYRN0MNhckfx5t68SFxvg-Q3zV-CbxZvmv2-8JlqQW_xUlKXMN2Ozx32xgw7rTu3LSu2LrASV7THLurrKVbYx0KKhhsPmci2exSoRu7g4bnQjMymzSmZZlpe7epsXxa7HMpd9V0FZZsk-wwm02UYfW-eHjW9WS5wX8UfD155ePwKRHiziehzrwxJG55tPbtL3o_YzbdbTm9X9T4NztyY">