Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 11.0.0-beta1
-
None
-
-
817d72df7 (master)
Description
When the "Prefer .clang-tidy file" option is checked, and the .clang-tidy file contains syntax errors, there is no warning shown in the Application Output or anywhere else. It seems to revert to the default checks, which are less strict than mine, resulting in the Analyze->Clang-Tidy command showing success when there should in fact be a ton of diagnostic warnings.
This is quite vexing when I edit the .clang-tidy file by hand. I have to artificially untidy my code to make sure that the .clang-tidy file still works, and then revert my code back to the clean version. Very error-prone for something that's supposed to detect errors!
Attachments
For Gerrit Dashboard: QTCREATORBUG-29298 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
501565,2 | ClangTools: Always print stderr output | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |