-
Notifications
You must be signed in to change notification settings - Fork 25
/
.clang-tidy
66 lines (66 loc) · 2.15 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
Checks: "*,\
-bugprone-exception-escape,\
-bugprone-lambda-function-name,\
-bugprone-narrowing-conversions,\
-cert-err58-cpp,\
-clang-diagnostic-c++17-extensions,\
-clang-diagnostic-unknown-warning-option,\
-cppcoreguidelines-avoid-c-arrays,\
-cppcoreguidelines-avoid-magic-numbers,\
-cppcoreguidelines-macro-usage,\
-cppcoreguidelines-narrowing-conversions,\
-cppcoreguidelines-non-private-member-variables-in-classes,\
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,\
-cppcoreguidelines-pro-bounds-constant-array-index,\
-cppcoreguidelines-pro-bounds-pointer-arithmetic,\
-cppcoreguidelines-pro-type-reinterpret-cast,\
-cppcoreguidelines-pro-type-union-access,\
-cppcoreguidelines-pro-type-vararg,\
-fuchsia-default-arguments,\
-fuchsia-default-arguments-calls,\
-fuchsia-default-arguments-declarations,\
-fuchsia-overloaded-operator,\
-fuchsia-statically-constructed-objects,\
-google-default-arguments,\
-google-explicit-constructor,\
-google-readability-braces-around-statements,\
-google-readability-namespace-comments,\
-google-readability-todo,\
-google-runtime-int,\
-google-runtime-references,\
-hicpp-avoid-c-arrays,\
-hicpp-braces-around-statements,\
-hicpp-no-array-decay,\
-hicpp-no-assembler,\
-hicpp-signed-bitwise,\
-hicpp-uppercase-literal-suffix,\
-hicpp-vararg,\
-llvm-namespace-comment,\
-llvm-header-guard,\
-misc-non-private-member-variables-in-classes,\
-modernize-avoid-c-arrays,\
-modernize-use-trailing-return-type,\
-readability-braces-around-statements,\
-readability-else-after-return,\
-readability-implicit-bool-conversion,\
-readability-magic-numbers,\
-readability-named-parameter,\
-readability-uppercase-literal-suffix,\
"
HeaderFilterRegex: '^.*include/egt/.*h$$'
HeaderFilterRegex: '^.*src/.*h$$'
AnalyzeTemporaryDtors: false
...
#
# Notes About Disabled Warnings
# -----------------------------
#
# hicpp-signed-bitwise
# https://stackoverflow.com/questions/50399090/use-of-a-signed-integer-operand-with-a-binary-bitwise-operator-when-using-un/58845898#58845898
#
# google-explicit-constructor and hicpp-explicit-conversions seem redundant
#
# cppcoreguidelines-pro-type-reinterpret-cast
# Disabled because of many warnings. This needs to be addressed.
#