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

Vadim Peretokin vperetokin at gmail.com
Thu Jun 14 16:57:43 CEST 2018


I have not had issues with modernize-loop-convert not detecting that
variables are used by other things in a well-established codebase - ymmv.

On Thu, Jun 14, 2018 at 4:56 PM Jason H <jhihn at gmx.com> wrote:

> My LEAST favorite is
> modernize-loop-convert
>
> It seems to be blindly applied. If I 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" <ivan.donchevskii at qt.io>
> *To:* "qt-creator at qt-project.org" <qt-creator at 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 <qt-creator-bounces+ivan.donchevskii=
> qt.io at qt-project.org> on behalf of Ivan Donchevskii <
> ivan.donchevskii at qt.io>
> *Sent:* Wednesday, June 13, 2018 9:44:23 AM
> *To:* qt-creator at qt-project.org
> *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.
>
> We have an example of it in https://codereview.qt-project.org/#/c/230400/ but
> not sure if it is actually the proper list.
>
>
>
> Here's the list itself -
> "bugprone-*,cppcoreguidelines-*,misc-*,modernize-*,performance-*,readability-*,-cppcoreguidelines-owning-memory,-readability-braces-around-statements,-readability-implicit-bool-conversion,-readability-named-parameter"
>
>
>
> Let us know if there's something you would like to add or remove from it.
> You can check the whole tree of currently available checks in 4.7 beta or
> in one of our latest Qt Creator snapshots.
>
>
>
> Kind regards,
>
> Ivan
> _______________________________________________ Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20180614/6451eeb5/attachment.html>


More information about the Qt-creator mailing list