-
Notifications
You must be signed in to change notification settings - Fork 20
/
.clang-tidy
44 lines (44 loc) · 1.37 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
44
Checks: >
*,
-*-c-arrays,
-*-macro-to-enum,
-*-magic-numbers,
-*-named-parameter,
-*-narrowing-conversions,
-altera-*,
-bugprone-assignment-in-if-condition,
-bugprone-casting-through-void,
-bugprone-easily-swappable-parameters,
-bugprone-multi-level-implicit-pointer-conversion,
-cert-err33-c,
-cert-err34-c,
-clang-analyzer-optin.core.EnumCastOutOfRange,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-clang-analyzer-valist.Uninitialized,
-concurrency-mt-unsafe,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-reinterpret-cast,
-fuchsia-default-arguments-calls,
-google-readability-todo,
-hicpp-signed-bitwise,
-llvm-header-guard,
-llvmlibc-*,
-misc-include-cleaner,
-misc-no-recursion,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-redundant-casting,
-readability-static-accessed-through-instance,
CheckOptions:
- key: hicpp-uppercase-literal-suffix.NewSuffixes
value: 'L;U;UL;ULL'
- key: readability-uppercase-literal-suffix.NewSuffixes
value: 'L;U;UL;ULL'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
FormatStyle: file