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

    <tr>
        <th>Summary</th>
        <td>
            17.0.1 `misc-include-cleaner` does not work with Qt headers (forwarding type)
        </td>
    </tr>

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

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

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

<pre>
    QtCreator 11 includes clangd 16.0.3
QtCreator 12 includes clangd 17.0.1

By this change to 17.0.1 the test
`misc-include-cleaner`
complains about headers that are not used directly and 
classes that are not included by a header directly.

All this boils down on the typical pattern:

```C++
#include <QString>  // included header QString is not used directly
...
QString myString;   // no header providing QString is directly included
```

The content of QString header file is the only line:
`#include "qstring.h"`

In https://github.com/include-what-you-use/include-what-you-use/issues/892 the problem is described somehow.

How can this problem be handled?

ps:
- changing the content of QString with some pragma is not possible, as this is part of Qt and would be killed with the next update.
- adding pragma to the `#include <QString>` make the file ... ugly?

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8VN2OszYQfRpzMwoCk5Dkgov9adRertoXMPYE3DU2tYeP8vYVBrI0X7sSShA-c-acmSOLEHRjESt2emWn90QM1DpfdRo7h0nt1FR90JtHQc5DnoO20gwKA0gjbKMgL9MsLVj2zrKXHZD_DDynWZovwOX3dQJqdQDZCtsgkFsxQC0CYaAVXGadDvKwEh6kQWHRszJbzqXreiO0DSBqNxC0KBT6ANQKAuERrCMYAipQ2qMkM4GwCtZiI0LAJ_DaSUE9gVj5HsXp3sKLMYuH2mkTQLnRgrOLganXUhjoBRF6y4qXfeGsPj5vjL_Oz_KVF2tvYMXbx-_ktW1Y8QsA4zfGb1_KVlErBHT42eVCmaar4A3aTRvtKzx4rdsYe-9-aDUDd9yPwW39n0zsnf3RIkhnCS2Buz9YVvq7NjgzzhNy1kxgtMWv2ZTZfgSc_xViddoyzp_6_GahJerDXBxNNJraoU6l6xi_bWEZW0GHyQ2HIeA3n0MYMDB-u1x5lNZ7VxvsoncM0usaFQTXYevGfwXgVzeCFHYJwVZVI7TCKoOKFbc9elEbXw9L7OfR0H9PbNTUxp7Qe9F0Ylty70LQtUHG30CEpfPcXPilnGK8RzcYNSv51MagWtjmThb_Jhh6JQjTTYpQceNrH3IR-LSMfR5ZmUEnPjHi4krTNIWhMdPDcKKqQl2Lq0iwys9ZdjkW15wnbXXCOpd1eeZHyY9SluKkTpc6w0uBV1VneaIrnvEiz_kxL4sLP6dFecbT_ZJfsruSR-TsmGEntEmN-dGlzjdJ3F91LorjOTGiRhPidca5xRHi4Zyf03viq7nmUA9NYMfM6EDhi4U0mVlsvIP-_9YB5XDZxOj85zLYj69rh_HL3flR-DhSmnpk_JoM3lTfxHXWsP4deu_-REn7WEZn_wQAAP__WpHQrA">