This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
/
.clang-tidy
65 lines (64 loc) · 2.37 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
Checks: >
-*,
readability-identifier-naming,
readability-const-return-type,
readability-redundant-smartptr-get,
readability-misleading-indentation,
readability-redundant-control-flow,
readability-redundant-member-init,
readability-redundant-string-cstr,
readability-redundant-string-init,
readability-simplify-subscript-expr,
readability-static-accessed-through-instance,
readability-static-definition-in-anonymous-namespace,
readability-uniqueptr-delete-release,
readability-container-size-empty,
# readability-delete-null-pointer, // not applicable for gcc/msvc
readability-make-member-function-const,
readability-redundant-access-specifiers,
performance-for-range-copy,
performance-implicit-conversion-in-loop,
performance-inefficient-algorithm,
performance-inefficient-string-concatenation,
performance-inefficient-vector-operation,
performance-move-const-arg,
performance-unnecessary-copy-initialization,
performance-unnecessary-value-param,
performance-no-automatic-move,
performance-trivially-destructible,
modernize-make-shared,
modernize-use-bool-literals,
modernize-use-emplace,
modernize-use-equals-default,
modernize-use-override,
modernize-use-nullptr,
modernize-use-using,
bugprone-assert-side-effect,
bugprone-copy-constructor-init,
bugprone-forward-declaration-namespace,
bugprone-move-forwarding-reference,
bugprone-parent-virtual-call,
bugprone-too-small-loop-variable,
bugprone-undefined-memory-manipulation,
bugprone-unhandled-self-assignment,
bugprone-multiple-statement-macro,
bugprone-macro-parentheses,
bugprone-undefined-memory-manipulation,
bugprone-unhandled-self-assignment,
# google-default-arguments,
misc-misplaced-const,
misc-definitions-in-headers,
misc-redundant-expression,
misc-uniqueptr-reset-release,
misc-unused-alias-decls,
misc-unused-using-decls,
cppcoreguidelines-prefer-member-initializer,
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: lower_case
- key: readability-identifier-naming.StructCase
value: lower_case
- key: readability-identifier-naming.ClassSuffix
value: _t
- key: readability-identifier-naming.StructSuffix
value: _t