[Qt-creator] Clang code model issues

Julius Bullinger julius.bullinger at gmail.com
Fri Feb 8 09:11:11 CET 2019


Hi,

it seems like there are more and more complains about the recent clang 
model model changes:

Mailing list threads (cannot link, since the archive was broken):

* "Clang-Tidy and Clazy analyzer using '-D__cplusplus=199711L'" from 
August 2018
* "Clang code model running in C++98 mode" from November 2018 
(Disclaimer: started by myself)
* "Clang processes not being stopped when killing a compile" from 
January 2019
* "Qt creator + Clang model = major annoyance" from January 2019

Bug reports:

* https://bugreports.qt.io/browse/QTCREATORBUG-21729 with several people 
being affected
* https://bugreports.qt.io/browse/QTCREATORBUG-21892
* https://bugreports.qt.io/browse/QTCREATORBUG-21765 (disclaimer: filed 
by myself)
* https://bugreports.qt.io/browse/QTCREATORBUG-21764
* https://bugreports.qt.io/browse/QTCREATORBUG-21750
* https://bugreports.qt.io/browse/QTCREATORBUG-21734
* https://bugreports.qt.io/browse/QTCREATORBUG-21688
* https://bugreports.qt.io/browse/QTCREATORBUG-21685

Blog post comments:

* 
https://blog.qt.io/blog/2018/12/06/qt-creator-4-8-0-released/#comment-1206951
* 
https://blog.qt.io/blog/2018/12/06/qt-creator-4-8-0-released/#comment-1206998
* 
https://blog.qt.io/blog/2018/12/06/qt-creator-4-8-0-released/#comment-1207042

and so on...

Some of them are said to be fixed in Creator 4.9, but I cannot confirm that.

It seems like there's major problems with bigger projects, older 
compilers, external headers, and other "uncommon" configurations. That 
makes QtC currently barely usable in these circumstances.

Is there a short-term plan for handling these issues? And additionally, 
could automatic testing be expanded to catch these early in the future?

Thanks and best regards,
Julius



More information about the Qt-creator mailing list