-
Notifications
You must be signed in to change notification settings - Fork 33
/
.clang-tidy
29 lines (28 loc) · 1.32 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
---
Checks: >
*,-fuchsia*,-android-*,
-modernize-pass-by-value,-modernize-use-trailing-return-type,
-llvmlibc-restrict-system-libc-headers,-llvmlibc-*,
-altera-unroll-loops,-altera-struct-pack-align,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-hicpp-no-array-decay,
-llvm-qualified-auto,-readability-qualified-auto,
-cppcoreguidelines-avoid-magic-numbers,
-google-build-using-namespace,
-cppcoreguidelines-pro-type-vararg,-hicpp-vararg,
-cppcoreguidelines-pro-type-static-cast-downcast,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-readability-implicit-bool-conversion, - readability-container-size-empty,
-hicpp-signed-bitwise, -cppcoreguidelines-macro-usage,
-cppcoreguidelines-avoid-c-arrays,-hicpp-avoid-c-arrays,-modernize-avoid-c-arrays,
-google-default-arguments,-google-readability-todo,
-hicpp-uppercase-literal-suffix,-readability-uppercase-literal-suffix,
-clang-analyzer-core.CallAndMessage, -readability-static-accessed-through-instance
WarningsAsErrors: false
CheckOptions:
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: true
- key: readability-magic-numbers.IgnorePowersOf2IntegerValues
value: true
- key: readability-magic-numbers.IgnoredIntegerValues
value: '1;2;3;4;5;6;10;24;60;100;1000;'