This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 61fe545e48b [fix][chore](clang-tidy) Fix order of tidy Checks (#27237)
61fe545e48b is described below
commit 61fe545e48bbbae6f3ba0f08f2097858aec783ac
Author: hat <[email protected]>
AuthorDate: Sun Nov 19 13:06:01 2023 +0800
[fix][chore](clang-tidy) Fix order of tidy Checks (#27237)
Clang-tidy add checks based on the order of `Checks` field.
Here the `-*` removes the `clang-diagnostic-*,clang-analyzer-*` before.
---
.clang-tidy | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.clang-tidy b/.clang-tidy
index 58bee7a1fb3..5d530bcb768 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,8 +1,8 @@
---
Checks: |
+ -*,
clang-diagnostic-*,
clang-analyzer-*,
- -*,
bugprone-redundant-branch-condition,
modernize-*,
-modernize-use-trailing-return-type,
@@ -29,4 +29,5 @@ CheckOptions:
- key: readability-function-size.LineThreshold
value: '80'
- key: readability-function-cognitive-complexity.Threshold
- value: '50'
\ No newline at end of file
+ value: '50'
+
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]