-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
25 lines (23 loc) · 731 Bytes
/
.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
Checks: "bugprone-*,
cert-*,
cppcoreguidelines-*,
clang-analyzer-*,
cppcoreguidelines-*,
-cppcoreguidelines-pro-type-union-access,
hicpp-*,
llvm-*,
misc-*,
modernize-*,
performance-*,
readability-*,
-readability-identifier-length,
-cppcoreguidelines-avoid-magic-numbers,"
WarningsAsErrors: ''
HeaderFilterRegex: ''
CheckOptions:
- { key: readability-magic-numbers.IgnoredIntegerValues,
value: 0;1;2;3;4;5;6;7;8;9;10;100;1000;180;360;255 }
- { key: readability-magic-numbers.IgnorePowersOf2IntegerValues,
value: 'true' }
- { key: readability-magic-numbers.IgnoredFloatingPointValues,
value: 0.25;0.5;0.75;1.0;2.0;3.0;10.0;100.0;1000.0;0.1;0.001;0.0001;-1.0;-2.0;-3.0;180.0;360.0 }