-
Notifications
You must be signed in to change notification settings - Fork 35
/
.clang-tidy
53 lines (52 loc) · 2 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
---
Checks: |
-*
clang-analyzer-core.*
clang-analyzer-deadcode.*
clang-analyzer-cplusplus.*
-clang-analyzer-cplusplus.NewDelete
performance-*
-performance-avoid-endl
-performance-unnecessary-value-param
-performance-enum-size
-performance-noexcept-destructor
cppcoreguidelines-*
-cppcoreguidelines-owning-memory
-cppcoreguidelines-narrowing-conversions
-cppcoreguidelines-avoid-magic-numbers
-cppcoreguidelines-avoid-c-arrays
-cppcoreguidelines-pro-bounds-pointer-arithmetic
-cppcoreguidelines-init-variables
-cppcoreguidelines-pro-type-member-init
-cppcoreguidelines-avoid-do-while
-cppcoreguidelines-pro-type-const-cast
-cppcoreguidelines-pro-bounds-array-to-pointer-decay
-cppcoreguidelines-avoid-const-or-ref-data-members
-cppcoreguidelines-pro-bounds-constant-array-index
-cppcoreguidelines-noexcept-swap
-cppcoreguidelines-noexcept-move-operations
-cppcoreguidelines-noexcept-destructor
-cppcoreguidelines-virtual-class-destructor
-cppcoreguidelines-c-copy-assignment-signature
-cppcoreguidelines-missing-std-forward
-cppcoreguidelines-special-member-functions
bugprone-*
-bugprone-sizeof-expression
-bugprone-narrowing-conversions
-bugprone-macro-parentheses
-bugprone-easily-swappable-parameters
-bugprone-implicit-widening-of-multiplication-result
-bugprone-exception-escape
WarningsAsErrors: '*'
CheckOptions:
cppcoreguidelines-macro-usage.CheckCapsOnly: true
cppcoreguidelines-avoid-do-while.IgnoreMacros: true
cppcoreguidelines-rvalue-reference-param-not-moved.IgnoreNonDeducedTemplateTypes: true
cppcoreguidelines-rvalue-reference-param-not-moved.AllowPartialMove: true
cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor: true
cppcoreguidelines-avoid-non-const-global-variables.AllowInternalLinkage: true
performance-move-const-arg.CheckTriviallyCopyableMove: false
performance-move-const-arg.CheckMoveToConstRef: false
HeaderFilterRegex: '(example|app|src/(accel|celeritas|corecel|orange|geocel))/.*\.hh$'
FormatStyle: file
...