-
Notifications
You must be signed in to change notification settings - Fork 6
/
.clang-tidy
62 lines (58 loc) · 2.24 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
Checks: '*,
-altera-id-dependent-backward-branch,
-altera-struct-pack-align,
-altera-unroll-loops,
-bugprone-assignment-in-if-condition,
-bugprone-easily-swappable-parameters,
-bugprone-exception-escape,
-cert-dcl50-cpp,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-avoid-do-while,
-cppcoreguidelines-avoid-goto,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-missing-std-forward,
-cppcoreguidelines-owning-memory,
-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,
-darwin-*,
-fuchsia-*,
-google-build-using-namespace,
-google-build-using-namespace,
-google-explicit-constructor,
-google-readability-braces-around-statements,
-google-readability-casting,
-google-readability-todo,
-google-runtime-references,
-hicpp-avoid-c-arrays,
-hicpp-avoid-goto,
-hicpp-braces-around-statements,
-hicpp-explicit-conversions,
-hicpp-multiway-paths-covered,
-hicpp-named-parameter,
-hicpp-no-array-decay,
-hicpp-signed-bitwise,
-hicpp-vararg,
-linuxkernel-*,
-llvm-include-order,
-llvmlibc-*,
-misc-definitions-in-headers,
-misc-include-cleaner,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-misc-redundant-expression,
-modernize-*,
-mpi-*,
-objc-*,
-openmp-*,
-readability-*,
-zircon-*'
# misc-definitions-in-headers is causing warning for every constexpr variable templates
# google-runtime-references: "non-const reference parameter 'n', make it const or use a pointer"
# This guideline has been removed from Google Style Guide:
# - https://github.com/google/styleguide/commit/7a7a2f510efe7d7fc
# - https://google.github.io/styleguide/cppguide.html#Inputs_and_Outputs