-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-tidy
41 lines (41 loc) · 1.35 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
Checks: >-
*,
-abseil*,
-android*,
-*braces-around-statements,
-clang-analyzer-alpha.*,
-clang-analyzer-cplusplus.NewDelete,
-clang-analyzer-optin.cplusplus.VirtualCall,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-owning-memory,
-fuchsia*,
-google-readability-todo,
-google-runtime-int,
-hicpp-*,
-google-runtime-references,
-llvm-header-guard,
-llvmlibc*,
-modernize-avoid-bind,
-modernize-use-trailing-return-type,
-modernize-use-default-member-init,
-mpi*,
-readability-avoid-const-params-in-decls,
-objc*,
-*osx*,
-zircon*
WarningsAsErrors: '*'
HeaderFilterRegex: 'helpers/include|helpers/src'
CheckOptions:
- key: readability-identifier-naming.ClassMemberPrefix
value: 'm_'
- key: performance-unnecessary-value-param.AllowedTypes
value: shared_ptr
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: 1
- key: hicpp-special-member-functions.AllowSoleDefaultDtor
value: 1
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
value: 1