summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2019-02-01 11:20:13 +0000
committerIlya Biryukov <ibiryukov@google.com>2019-02-01 11:20:13 +0000
commitd226bc839740c473d583361314ca84ae6bff78d0 (patch)
treefb14a2372c12213d350de43a36e4dfacaf22f335 /.clang-tidy
parent7857215f8ea6850e78819e5c37a7904700bb10cf (diff)
downloadllvm-d226bc839740c473d583361314ca84ae6bff78d0.tar.gz
Disable tidy checks with too many hits
Summary: Some tidy checks have too many hits in the codebase, making it hard to spot other results from clang-tidy, therefore rendering the tool less useful. Two checks were disabled: - misc-non-private-member-variable-in-classes in the whole LLVM monorepo, it is very common to have those in LLVM and the style guide does not forbid them. - readability-identifier-naming in the clang subtree. There are thousands of violations in 'Sema.h' alone. Before the change, 'Sema.h' had >1000 tidy warnings, after the change the number dropped to 3 warnings (unterminated namespace comments). Reviewers: alexfh, hokein Reviewed By: hokein Subscribers: llvm-commits, cfe-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D57573 llvm-svn: 352862
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy2
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 2cfcc2ac22b6..3f407e0160e6 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,4 +1,4 @@
-Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,readability-identifier-naming'
+Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,readability-identifier-naming'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase