forked from LandSandBoat/server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
36 lines (36 loc) · 1.02 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
---
# https://clang.llvm.org/extra/clang-tidy/checks/list.html
Checks: >
-*,
bugprone-*,
-bugprone-parent-virtual-call,
-bugprone-reserved-identifier,
cert-flp30-c,
cert-mem57-cpp,
cert-oop57-cpp,
cert-oop58-cpp,
clang-analyzer-*,
concurrency-*,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-owning-memory,
misc-*,
modernize-*,
-modernize-avoid-c-arrays,
-modernize-return-braced-init-list,
-modernize-use-auto,
-modernize-use-trailing-return-type,
performance-*,
readability-*,
portability-*,
-readability-convert-member-functions-to-static,
-readability-else-after-return,
-readability-implicit-bool-conversion,
-readability-function-cognitive-complexity,
-readability-inconsistent-declaration-parameter-name,
-readability-magic-numbers,
-readability-uppercase-literal-suffix,
# TODO: These are important, but they're destructive. Turn on one day.
# cppcoreguidelines-pro-type-static-cast-downcast,
# cppcoreguidelines-pro-type-cstyle-cast,
...