-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
30 lines (28 loc) · 1.63 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
---
Checks: '*,-fuchsia-*,-google-*,-zircon-*,-abseil-*,-modernize-use-trailing-return-type,-llvm-*,-readability-named-parameter,-cppcoreguidelines-pro-type-union-access'
WarningsAsErrors: '1'
HeaderFilterRegex: '(src|include|test)(\/|\\)(vkfw|vkfw_core)(\/|\\)([^\/\\]*(\/|\\))*([^\/\\]*)\.(h|hpp|hxx|cpp|cxx)$'
FormatStyle: none
CheckOptions:
- key: hicpp-special-member-functions.AllowSoleDefaultDtor
value: '1'
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
value: '1'
- key: hicpp-uppercase-literal-suffix.NewSuffixes
value: 'L;LL;LU;LLU'
- key: readability-uppercase-literal-suffix.NewSuffixes
value: 'L;LL;LU;LLU'
- key: readability-magic-numbers.IgnoredIntegerValues
value: '1;2;3;4;5;10;100;1000'
- key: readability-magic-numbers.IgnorePowersOf2IntegerValues
value: '1'
- key: readability-magic-numbers.IgnoredFloatingPointValues
value: '0.001;0.01;0.1;0.5;1.0;2.0;3.0;4.0;10.0;100.0;1000.0'
- key: cppcoreguidelines-avoid-magic-numbers.IgnoredIntegerValues
value: '1;2;3;4;5;10;100;1000'
- key: cppcoreguidelines-avoid-magic-numbers.IgnorePowersOf2IntegerValues
value: '1'
- key: cppcoreguidelines-avoid-magic-numbers.IgnoredFloatingPointValues
value: '0.001;0.01;0.1;0.5;1.0;2.0;3.0;4.0;10.0;100.0;1000.0'
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: '1'