[Interest] clang-tidy version in Qt Creator

Nikos Chantziaras realnc at gmail.com
Tue Feb 5 19:33:43 CET 2019


That's for running the checks live in the code model. For a static 
analysis run (when selecting "Clang-Tidy and Clazy..." in the "Analyze" 
menu) performance is not important, and it should be possible to use the 
system install clang tools there.


On 05/02/2019 19:25, Dmitriy Purgin wrote:
> Well, try turning on more clang-tidy and clazy checks than the default 
> shipment of Qt Creator has! ;-) With a project of a decent size your 
> PC's fans will be blowing all the time like mining is still a thing!
> 
> Cheers
> 
> 
> On Tue, Feb 5, 2019 at 1:04 PM Nikos Chantziaras <realnc at gmail.com 
> <mailto:realnc at gmail.com>> wrote:
> 
>     On 05/02/2019 09:34, Nikolai Kosjar wrote:
>      > On 2/4/19 10:18 PM, Bernhard Lindner wrote:
>      >> Is there a way to switch/select the clang-tidy version used by
>     Qt Creator for static code
>      >> analysis on Linux?
>      >
>      > No as Qt Creator can only use the shipped/customized clang binary for
>      > this. While this come with some advantages (performance in case
>     tidy and
>      > clazy checks are requested, same lib interface), it does not permit
>      > switching versions that easily.
> 
>     Since performance in static analysis is not actually important, it
>     would
>     be better if Creator would be able to use external clang binaries
>     for this.




More information about the Interest mailing list