-
Notifications
You must be signed in to change notification settings - Fork 11
/
.clang-tidy
43 lines (40 loc) · 1.6 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
39
40
41
42
43
---
FormatStyle: file
Checks: |-
-clang-analyzer-optin.*,
-clang-analyzer-core.CallAndMessage,
-clang-analyzer-security.insecureAPI.rand,
,clang-analyzer-deadcode.*
,cppcoreguidelines-pro-type-member-init
,google-build-using-namespace
,google-readability-namespace-comments
,hicpp-braces-around-statements
,llvm-include-order
,modernize-redundant-void-arg
,modernize-use-auto
,modernize-use-equals-default
,modernize-use-nodiscard
,modernize-use-nullptr
,readability-implicit-bool-conversion
,readability-make-member-function-const
,readability-named-parameter
,readability-redundant-member-init
WarningsAsErrors: |-
,clang-analyzer-deadcode.*
,google-build-using-namespace
,google-readability-namespace-comments
,hicpp-braces-around-statements
,llvm-include-order
,modernize-redundant-void-arg
,modernize-use-auto
,modernize-use-equals-default
,modernize-use-nodiscard
,modernize-use-nullptr
,readability-implicit-bool-conversion
,readability-make-member-function-const
,readability-named-parameter
,readability-redundant-member-init
#
# maybe pro-bounds-pointer-arithmetic but may be required by cython
# Future target:
# #Checks: 'clang-diagnostic-*,clang-analyzer-*,-clang-analyzer-alpha*,*,-clang-analyzer-alpha.*,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-readability-implicit-bool-cast,-cppcoreguidelines-pro-bounds-constant-array-index,-google-runtime-reference,cppcoreguidelines-owning-memory,-llvmlibc*'