pkg-config contains -I options for for includes and I manually modified them to -isystem but it does not make any difference.
There are other headers which are also quite slow (e.g. <Qt> and <QFileInfo> ) for just being included but they are not as bad as this one.
I can reproduce this with LLVM 18.1.8 and 19 using Qt 6.7.2. Unfortunately Qt6 is not available on the system I have all my older LLVM versions installed on so I cannot check when/if this is regressed.
.clang-tidy
It does not appear to be a single check:
pkg-config
contains-I
options for for includes and I manually modified them to-isystem
but it does not make any difference.There are other headers which are also quite slow (e.g.
<Qt>
and<QFileInfo>
) for just being included but they are not as bad as this one.I can reproduce this with LLVM 18.1.8 and 19 using Qt 6.7.2. Unfortunately Qt6 is not available on the system I have all my older LLVM versions installed on so I cannot check when/if this is regressed.