Re: [Qt-creator] What are your favorite clang-tidy checks

2018-06-18 Thread Jason H
One thing I would like is a fix-it for a implicit conversion. I'm old school and like the short, easy, old casts: (type) x; (gives "use of old-style cast" message) but the new style: static_cast (val) is much harder to type. It's got _ and <> and I've got to edit behind the variable, which

Re: [Qt-creator] What are your favorite clang-tidy checks

2018-06-15 Thread Michael Jackson
> > From: Vadim Peretokin > Sent: Thursday, June 14, 2018 6:42 PM > To: Ivan Donchevskii > Cc: Michael Jackson; qt-creator@qt-project.org > Subject: Re: [Qt-creator] What are your favorite clang-tidy checks > > That's a great addition! C

Re: [Qt-creator] What are your favorite clang-tidy checks

2018-06-15 Thread Eike Ziller
" wrote: > > Yes, there are checkboxes for fix-its so you can apply selected ones. > > > From: Vadim Peretokin > Sent: Thursday, June 14, 2018 6:42 PM > To: Ivan Donchevskii > Cc: Michael Jackson; qt-creator@qt-project.org > Subject: Re: [Qt-creator] What are y

Re: [Qt-creator] What are your favorite clang-tidy checks

2018-06-14 Thread Michael Jackson
d documents. I hope it solves your problem at least partially :) From: Qt-creator on behalf of Michael Jackson Sent: Thursday, June 14, 2018 6:03:37 PM To: qt-creator@qt-project.org Subject: Re: [Qt-creator] What are your favorite clang-tidy checks I tend to go back and forth between tu

Re: [Qt-creator] What are your favorite clang-tidy checks

2018-06-14 Thread Vadim Peretokin
ted ones. > > -- > *From:* Vadim Peretokin > *Sent:* Thursday, June 14, 2018 6:42 PM > *To:* Ivan Donchevskii > *Cc:* Michael Jackson; qt-creator@qt-project.org > > *Subject:* Re: [Qt-creator] What are your favorite clang-tidy checks > That's

Re: [Qt-creator] What are your favorite clang-tidy checks

2018-06-14 Thread Ivan Donchevskii
ect.org<mailto:qt-creator@qt-project.org> Subject: Re: [Qt-creator] What are your favorite clang-tidy checks I tend to go back and forth between turning it off so that code completion actually completes in a reasonable amount of time (~1 second) or having all the helpful insights into my code base.

Re: [Qt-creator] What are your favorite clang-tidy checks

2018-06-14 Thread Vadim Peretokin
ves your problem at least partially :) > -- > *From:* Qt-creator qt...@qt-project.org> on behalf of Michael Jackson < > mike.jack...@bluequartz.net> > *Sent:* Thursday, June 14, 2018 6:03:37 PM > *To:* qt-creator@qt-project.org > > *Subjec

Re: [Qt-creator] What are your favorite clang-tidy checks

2018-06-14 Thread Ivan Donchevskii
Sent: Thursday, June 14, 2018 6:03:37 PM To: qt-creator@qt-project.org Subject: Re: [Qt-creator] What are your favorite clang-tidy checks I tend to go back and forth between turning it off so that code completion actually completes in a reasonable amount of time (~1 second) or having all the he

Re: [Qt-creator] What are your favorite clang-tidy checks

2018-06-14 Thread Michael Jackson
I tend to go back and forth between turning it off so that code completion actually completes in a reasonable amount of time (~1 second) or having all the helpful insights into my code base. It is almost like QtCreator needs to have 2 threads running. One for the code completion and one for the

Re: [Qt-creator] What are your favorite clang-tidy checks

2018-06-14 Thread Vadim Peretokin
am using the loop increment variable > for aother things, that is a not good to recommend. It doesn't seem to > detect that. > > *Sent:* Wednesday, June 13, 2018 at 4:39 AM > *From:* "Ivan Donchevskii" > *To:* "qt-creator@qt-project.org" > *Subject:*

Re: [Qt-creator] What are your favorite clang-tidy checks

2018-06-14 Thread Jason H
 "qt-creator@qt-project.org" Subject: Re: [Qt-creator] What are your favorite clang-tidy checks You can also check the full list of Clang-Tidy 6.0 checks at https://releases.llvm.org/6.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/ From: Qt-creator on behalf of Ivan Don

Re: [Qt-creator] What are your favorite clang-tidy checks

2018-06-13 Thread Ivan Donchevskii
Subject: [Qt-creator] What are your favorite clang-tidy checks Hi! On the contributors summit I mentioned that we want to introduce the "default" set of flags for Clang-Tidy which can be used as a starting point for analysis and is good enough for some random project developed in

[Qt-creator] What are your favorite clang-tidy checks

2018-06-13 Thread Ivan Donchevskii
Hi! On the contributors summit I mentioned that we want to introduce the "default" set of flags for Clang-Tidy which can be used as a starting point for analysis and is good enough for some random project developed in Qt Creator. We have an example of it in https://codereview.qt-project.org/#/