forked from apache/cloudberry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
39 lines (37 loc) · 1.2 KB
/
.clang-tidy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
Checks: |
clang-diagnostic-*,
clang-analyzer-*,
-*,
modernize-use-override,
modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-nullptr,
modernize-use-default-member-init,
modernize-use-bool-literals,
modernize-use-using,
readability-braces-around-statements,
readability-make-member-function-const,
readability-non-const-parameter,
readability-static-accessed-through-instance,
WarningsAsErrors: '*'
HeaderFilterRegex: 'gpdbcost|gpopt|gpos|naucrates'
AnalyzeTemporaryDtors: false
FormatStyle: file
User: pivotal
CheckOptions:
- key: modernize-use-override.OverrideSpelling
value: override
- key: modernize-use-override.AllowOverrideAndFinal
value: 'false'
- key: modernize-use-equals-default.IgnoreMacros
value: 'true'
- key: modernize-use-override.FinalSpelling
value: final
- key: modernize-use-nullptr.NullMacros
value: 'NULL'
- key: modernize-use-equals-delete.IgnoreMacros
value: 'true'
- key: modernize-use-override.IgnoreDestructors
value: 'false'
...