summaryrefslogtreecommitdiff
path: root/.clang-tidy
Commit message (Collapse)AuthorAgeFilesLines
* Disable tidy checks with too many hitsIlya Biryukov2019-02-011-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@352862 91177308-0d34-0410-b5e6-96231b3b80d8
* Backport changes from llvm/.clang_tidy to clang/.clang_tidy configsIlya Biryukov2018-03-201-1/+6
| | | | | | | | | | | | | | Summary: LLVM .clang_tidy seems to be more up-to-date. Reviewers: alexfh, simark Reviewed By: alexfh Subscribers: simark, cfe-commits Differential Revision: https://reviews.llvm.org/D44628 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327984 91177308-0d34-0410-b5e6-96231b3b80d8
* Try to use readability-identifier-naming check on Clang.Alexander Kornienko2016-04-131-1/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266184 91177308-0d34-0410-b5e6-96231b3b80d8
* [clang-tidy] Disable misc-unused-parameters for clang.Alexander Kornienko2016-04-131-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266182 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable display of compiler diagnostics in clang-tidy.Alexander Kornienko2014-10-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220862 91177308-0d34-0410-b5e6-96231b3b80d8
* Add .clang-tidy configuration file to provide LLVM-optimized defaults for ↵Alexander Kornienko2014-09-081-0/+1
clang-tidy. Reviewers: chandlerc, djasper, alexfh Reviewed By: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5237 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217366 91177308-0d34-0410-b5e6-96231b3b80d8