Skip to content

Commit 10ab690

Browse files
Merge branch 'master' into enable_shared_storage_snapshot_in_query
2 parents 0566d2a + da8aff9 commit 10ab690

File tree

1,671 files changed

+35400
-18699
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,671 files changed

+35400
-18699
lines changed

.clang-tidy

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,21 @@ Checks: [
3232
'-bugprone-crtp-constructor-accessibility',
3333
'-bugprone-not-null-terminated-result',
3434
'-bugprone-forward-declaration-namespace',
35+
'-bugprone-nondeterministic-pointer-iteration-order',
36+
'-bugprone-sizeof-expression', # too aggressive
3537

3638
'-cert-dcl16-c',
39+
'-cert-arr39-c', # alias of bugprone-sizeof-expression
3740
'-cert-err58-cpp',
3841

42+
'-clang-analyzer-core.BitwiseShift', # false positive on boost::dynamic_bitset::to_ulong
43+
3944
'-clang-analyzer-optin.performance.Padding',
4045

41-
'-clang-analyzer-core.BitwiseShift', # false positive on boost::dynamic_bitset::to_ulong
46+
'-clang-analyzer-security.ArrayBound', # only false positives
47+
48+
'-clang-analyzer-cplusplus.NewDeleteLeaks', # false positives, slow
49+
'-clang-analyzer-unix.Malloc', # fixme, false positive in contrib somehow
4250

4351
'-cppcoreguidelines-*', # impractical in a codebase as large as ClickHouse, also slow
4452

@@ -94,6 +102,8 @@ Checks: [
94102
'-modernize-use-ranges',
95103
'-modernize-use-trailing-return-type',
96104
'-modernize-use-designated-initializers',
105+
'-modernize-use-scoped-lock',
106+
'-modernize-use-integer-sign-comparison',
97107

98108
'-performance-avoid-endl',
99109
'-performance-enum-size',
@@ -103,6 +113,8 @@ Checks: [
103113
'-performance-unnecessary-value-param',
104114

105115
'-portability-simd-intrinsics',
116+
'-portability-avoid-pragma-once',
117+
'-portability-template-virtual-member-function',
106118

107119
'-readability-avoid-nested-conditional-operator',
108120
'-readability-avoid-unconditional-preprocessor-if',
@@ -129,6 +141,7 @@ Checks: [
129141
'-readability-uppercase-literal-suffix',
130142
'-readability-use-anyofallof',
131143
'-readability-math-missing-parentheses',
144+
'-readability-use-concise-preprocessor-directives',
132145

133146
'-zircon-*'
134147
]

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!---AI changelog entry and formatting assistance: true-->
1+
<!--- Disable AI PR formatting assistant: false -->
22

33
### Changelog category (leave one):
44
- New Feature

0 commit comments

Comments
 (0)