-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.clang-tidy
46 lines (45 loc) · 1.38 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
45
46
Checks: '-*,
android-*,
-android-cloexec-fopen,
bugprone-*,
-bugprone-narrowing-conversions,
-bugprone-signed-char-misuse,
-bugprone-branch-clone,
-bugprone-easily-swappable-parameters,
-bugprone-not-null-terminated-result,
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-assignment-in-if-condition,
-bugprone-macro-parentheses,
cert-*,
-cert-str34-c,
-cert-err34-c,
-cert-err33-c,
-cert-flp30-c,
clang-analyzer-*,
-clang-analyzer-alpha.clone.CloneChecker,
-clang-analyzer-alpha.deadcode.UnreachableCode,
-clang-analyzer-security.insecureAPI.strcpy,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-clang-analyzer-security.FloatLoopCounter,
google-*,
-google-readability-casting,
-google-readability-braces-around-statements,
-google-readability-function-size,
misc-*,
-misc-confusable-identifiers,
-misc-no-recursion,
performance-*,
-performance-type-promotion-in-math-fn,
readability-*,
-readability-magic-numbers,
-readability-else-after-return,
-readability-identifier-length,
-readability-isolate-declaration,
-readability-braces-around-statements,
-readability-non-const-parameter,
-readability-misleading-indentation'
CheckOptions:
- key: readability-function-cognitive-complexity.IgnoreMacros
value: 1
- key: readability-function-cognitive-complexity.Threshold
value: 428