-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.15.0
-
None
-
60fca0596adfc98af9e3ef4e657d90eec4af9486 (qt-creator/tqtc-qt-creator/6.0)
These issues mentions that it works but it still does not in 4.15 for me:
https://bugreports.qt.io/browse/QTCREATORBUG-21060
https://bugreports.qt.io/browse/QTCREATORBUG-21452
- The analysis panel does not show header files.
- They aren't analyzed on the fly when opening / editing a header file either.
I attached a repro.
To see it in action :
- Enable clang-tidy config-file based checks in Qt Creator
- main.cpp : there is a warning

- main.hpp : there isn't

Both files are added as source files to CMake and are seen as project files.
| For Gerrit Dashboard: QTCREATORBUG-25782 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 374642,6 | ClangTools: Add header files to the list of files to be analyzed | 6.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |