-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
36 lines (30 loc) · 1.59 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
Checks: 'modernize-*, -modernize-use-trailing-return-type,
cppcoreguidelines-avoid-goto, cppcoreguidelines-init-variables,
cppcoreguidelines-no-malloc, cppcoreguidelines-missing-std-forward,
cppcoreguidelines-rvalue-reference-param-not-moved, cppcoreguidelines-slicing,
cppcoreguidelines-virtual-class-destructor,
bugprone-argument-comment, bugprone-assert-side-effect,
bugprone-inaccurate-erase, bugprone-infinite-loop,
bugprone-string-constructor, bugprone-string-integer-assignment,
bugprone-string-literal-with-embedded-nul, bugprone-stringview-nullptr,
bugprone-suspicious-*, bugprone-swapped-arguments,
bugprone-terminating-continue, bugprone-throw-keyword-missing,
bugprone-too-small-loop-variable, bugprone-undefined-memory-manipulation,
bugprone-undelegated-constructor, bugprone-unsafe-functions,
bugprone-use-after-move,
misc-*, -misc-no-recursion,
-misc-non-private-member-variables-in-classes,
performance-avoid-endl, performance-faster-string-find,
performance-for-range-copy, performance-implict-convertion-in-loop,
performance-inefficient-*, performance-move-const-arg,
performance-no-automatic-move, performance-noexcept-*,
performance-trivially-destructible, performance-type-promotion-in-math-fn,
performance-unnecessary-*,
readability-identifier-naming'
CheckOptions:
readability-identifier-naming.ClassCase: 'CamelCase'
readability-identifier-nameing.StructCase: 'CamelCase'
readability-identifier-naming.EnumCase: 'CamelCase'
readability-identifier-naming.EnumPrefix: 'E'
readability-identifier-naming.FunctionCase: 'lower_case'
readability-identifier-naming.PrivateMemberPrefix: 'm_'