diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-07-05 12:17:17 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-07-09 06:54:23 +0000 |
commit | 69d8b7f739b2104f4b776e6bfecc81cdacf01f33 (patch) | |
tree | 4cea8faaa856564ef3f12b3b3cce2869b792669b /scripts/generateClangTidyChecks.py | |
parent | 6e6dc32ad0eb05920193456d266d2c3c8cd80b5c (diff) | |
download | qt-creator-69d8b7f739b2104f4b776e6bfecc81cdacf01f33.tar.gz |
Clang: Fix tidy checks
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>
Diffstat (limited to 'scripts/generateClangTidyChecks.py')
-rwxr-xr-x | scripts/generateClangTidyChecks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generateClangTidyChecks.py b/scripts/generateClangTidyChecks.py index 627489521e..75a55329aa 100755 --- a/scripts/generateClangTidyChecks.py +++ b/scripts/generateClangTidyChecks.py @@ -150,9 +150,9 @@ def main(): process = subprocess.Popen([arguments.tidypath, '-checks=*', '-list-checks'], stdout=subprocess.PIPE) lines = process.stdout.read().splitlines() lines.pop(0) # 'Enabled checks:' - major_checks = ['android-', 'boost-', 'bugprone-', 'cert-', 'clang-analyzer-', + major_checks = ['abseil-', 'android-', 'boost-', 'bugprone-', 'cert-', 'clang-analyzer-', 'cppcoreguidelines-', 'fuchsia-', 'google-', 'hicpp-', 'llvm-', 'misc-', 'modernize-', - 'mpi-', 'objc-', 'performance-', 'readability-'] + 'mpi-', 'objc-', 'performance-', 'portability-', 'readability-', 'zircon-'] current_major = 0 major_groups = {} for line in lines: |