-
Notifications
You must be signed in to change notification settings - Fork 216
/
.clang-tidy
105 lines (103 loc) · 3.72 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
---
Checks:
- "-*"
- "misc-include-cleaner"
- "bugprone-argument-comment"
- "bugprone-assert-side-effect"
- "bugprone-assignment-in-if-condition"
- "bugprone-bad-signal-to-kill-thread"
- "bugprone-bool-pointer-implicit-conversion"
- "bugprone-branch-clone"
- "bugprone-casting-through-void"
- "bugprone-chained-comparison"
- "bugprone-compare-pointer-to-member-virtual-function"
- "bugprone-copy-constructor-init"
- "bugprone-crtp-constructor-accessibility"
- "bugprone-dangling-handle"
- "bugprone-dynamic-static-initializers"
- "-bugprone-easily-swappable-parameters"
- "bugprone-empty-catch"
- "bugprone-exception-escape"
- "bugprone-fold-init-type"
- "bugprone-forward-declaration-namespace"
- "bugprone-forwarding-reference-overload"
- "bugprone-implicit-widening-of-multiplication-result"
- "bugprone-inaccurate-erase"
- "bugprone-inc-dec-in-conditions"
- "bugprone-incorrect-enable-if"
- "bugprone-incorrect-roundings"
- "bugprone-infinite-loop"
- "bugprone-unhandled-self-assignment"
- "bugprone-unchecked-optional-access"
- "bugprone-integer-division"
- "bugprone-lambda-function-name"
- "bugprone-macro-parentheses"
- "bugprone-macro-repeated-side-effects"
- "bugprone-misplaced-operator-in-strlen-in-alloc"
- "bugprone-misplaced-pointer-arithmetic-in-alloc"
- "bugprone-misplaced-widening-cast"
- "bugprone-move-forwarding-reference"
- "bugprone-multi-level-implicit-pointer-conversion"
- "bugprone-multiple-new-in-one-expression"
- "bugprone-multiple-statement-macro"
- "bugprone-no-escape"
- "bugprone-non-zero-enum-to-bool-conversion"
- "bugprone-not-null-terminated-result"
- "bugprone-optional-value-conversion"
- "bugprone-parent-virtual-call"
- "bugprone-pointer-arithmetic-on-polymorphic-object"
- "bugprone-posix-return"
- "bugprone-redundant-branch-condition"
- "bugprone-reserved-identifier"
- "bugprone-return-const-ref-from-parameter"
- "bugprone-shared-ptr-array-mismatch"
- "bugprone-signal-handler"
- "bugprone-signed-char-misuse"
- "bugprone-sizeof-container"
- "bugprone-sizeof-expression"
- "bugprone-spuriously-wake-up-functions"
- "bugprone-standalone-empty"
- "bugprone-string-constructor"
- "bugprone-string-integer-assignment"
- "bugprone-string-literal-with-embedded-nul"
- "bugprone-stringview-nullptr"
- "bugprone-suspicious-enum-usage"
- "bugprone-suspicious-include"
- "bugprone-suspicious-memory-comparison"
- "bugprone-suspicious-memset-usage"
- "bugprone-suspicious-missing-comma"
- "bugprone-suspicious-realloc-usage"
- "bugprone-suspicious-semicolon"
- "bugprone-suspicious-string-compare"
- "bugprone-suspicious-stringview-data-usage"
- "bugprone-swapped-arguments"
- "bugprone-switch-missing-default-case"
- "bugprone-terminating-continue"
- "bugprone-throw-keyword-missing"
- "bugprone-too-small-loop-variable"
- "bugprone-undefined-memory-manipulation"
- "bugprone-undelegated-constructor"
- "bugprone-unhandled-exception-at-new"
- "bugprone-unique-ptr-array-mismatch"
- "bugprone-unsafe-functions"
- "bugprone-unused-local-non-trivial-variable"
- "bugprone-unused-raii"
- "bugprone-unused-return-value"
- "bugprone-use-after-move"
- "bugprone-virtual-near-miss"
- "-readability-redundant-member-init"
#WarningsAsErrors: "*"
WarningsAsErrors: ""
FormatStyle: none
CheckOptions:
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: "true"
- key: cppcoreguidelines-rvalue-reference-param-not-moved.AllowPartialMove
value: "true"
- key: modernize-use-auto.RemoveStars
value: "true"
- key: misc-include-cleaner.IgnoreHeaders
value: ".*cesium-async\\+\\+\\.h"
HeaderFilterRegex: ".*"
HeaderFileExtensions: ["h"]
ImplementationFileExtensions: ["cpp"]