summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptools_clangtidychecks.h
Commit message (Collapse)AuthorAgeFilesLines
* ClangTools: Query the tools for supported checksNikolai Kosjar2019-12-031-799/+0
| | | | | | | | | | | | | | | | ...instead of hardcoding them for a particular version of clang-tidy/clazy. While at it, move also the tidy/clazy widgets to ClangTools as this simplifies feeding data to them. Reduce also the built-in configs to a single one using clang-tidy's and clazy's default checks as they look very reasonable and saves us some porting effort. Also, our previous built-in configs were just too numerous. Change-Id: Ib9297acb7810a940b86a23a8695530506a570394 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Clang: Fix tidy checksNikolai Kosjar2019-07-091-11/+26
| | | | | | | | | generateClangTidyChecks.py generated funny output as it was not considering new major categories. Fixes: QTCREATORBUG-22450 Change-Id: Ibd6d0cc7539c9fb846caacbe936770d0c960f04f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Clang: Fix build with clang-8Ivan Donchevskii2019-04-171-7/+78
| | | | | | | | | | Clang-Tidy checks and Clazy flags updated. CLANG-UPGRADE-CHECK done. Change-Id: I1ca585c5c3c77a7f183719df9c262603150914e8 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Clang: Fix build with clang 7.0Ivan Donchevskii2018-10-171-55/+104
| | | | | | | As an addition update the header with Clang-Tidy checks. Change-Id: Ib4a4d324e8cad95403a3e799e352205b05ed7475 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Clang: Use the tree instead of the list for Clang-Tidy settingsIvan Donchevskii2018-05-251-0/+664
List of checks does not give enough flexibility to select/unselect specific checks. The tree fixes that. Also remove Clang-Tidy checks line edit because it is now integrated into the tree mode as an alternative way of providing checks by pressing "Plain text edit" button. 'cpptools_clangtidychecks.h' is generated using python script 'generateClangTidyChecks.py' and clang-tidy from our LLVM/Clang 6.0 build. Change-Id: I2ed1738cb2cbbf8dac6aba563469f06f69b11593 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>