-
Notifications
You must be signed in to change notification settings - Fork 77
/
.clang-tidy
47 lines (46 loc) · 1.49 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
# SPDX-FileCopyrightText: 2005 - 2021 Settlers Freaks <sf-team at siedler25.org>
#
# SPDX-License-Identifier: CC0-1.0
---
Checks: >-
boost-*,
bugprone-*,
clang-analyzer-*,
clang-diagnostic-*,
misc-*,
modernize-*,
performance-*,
readability-*,
-bugprone-narrowing-conversions,
-bugprone-too-small-loop-variable,
-clang-analyzer-osx.*,
-misc-non-private-member-variables-in-classes,
-misc-unused-parameters,
-modernize-avoid-c-arrays,
-modernize-raw-string-literal,
-modernize-return-braced-init-list,
-modernize-use-default-member-init,
-modernize-use-emplace,
-modernize-use-nodiscard,
-modernize-use-override,
-modernize-use-trailing-return-type,
-readability-braces-around-statements,
-readability-convert-member-functions-to-static,
-readability-else-after-return,
-readability-implicit-bool-conversion,
-readability-isolate-declaration,
-readability-magic-numbers,
-readability-named-parameter,
-readability-static-accessed-through-instance,
-readability-uppercase-literal-suffix,
-readability-identifier-naming,
-clang-diagnostic-inconsistent-missing-override
CheckOptions:
- key: performance-for-range-copy.AllowedTypes
value: 'Point<.*?>;MapPoint;Position;Extent;DrawPoint'
- key: performance-unnecessary-copy-initialization.AllowedTypes
value: 'Point<.*?>;MapPoint;Position;Extent;DrawPoint'
- key: performance-unnecessary-value-param.AllowedTypes
value: 'Point<.*?>;MapPoint;Position;Extent;DrawPoint'
AnalyzeTemporaryDtors: false
...