forked from GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
57 lines (55 loc) · 1.83 KB
/
.clang-tidy
File metadata and controls
57 lines (55 loc) · 1.83 KB
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
Checks:
- cert-*
- clang-analyzer-*
- bugprone-*
- performance-*
- readability-*
- modernize-*
- cppcoreguidelines-*
- misc-*
- '-altera-unroll-loops'
- '-bugprone-easily-swappable-parameters'
- '-bugprone-sizeof-expression'
- '-cppcoreguidelines-avoid-do-while'
- '-cppcoreguidelines-macro-usage'
- '-cppcoreguidelines-no-malloc'
- '-cppcoreguidelines-owning-memory'
- '-cppcoreguidelines-pro-bounds-array-to-pointer-decay'
- '-cppcoreguidelines-pro-bounds-constant-array-index'
- '-cppcoreguidelines-pro-bounds-pointer-arithmetic'
- '-cppcoreguidelines-pro-type-union-access'
- '-cppcoreguidelines-pro-type-vararg'
- '-llvmlibc-implementation-in-namespace'
- '-llvmlibc-restrict-system-libc-headers'
- '-misc-const-correctness'
- '-misc-definitions-in-headers'
- '-misc-no-recursion'
- '-misc-static-assert'
- '-misc-unused-parameters'
- '-modernize-use-auto'
- '-modernize-use-nodiscard'
- '-modernize-use-using'
- '-modernize-use-trailing-return-type'
- '-performance-enum-size'
- '-readability-braces-around-statements'
- '-readability-function-cognitive-complexity'
- '-readability-implicit-bool-conversion'
- '-readability-simplify-boolean-expr'
- '-readability-static-accessed-through-instance'
- '-readability-identifier-naming'
- '-readability-identifier-length'
HeaderFilterRegex: '.*\.(cpp|h)$'
FormatStyle: file
CheckOptions:
- key: 'modernize-loop-convert.MaxCopySize'
value: '16'
- key: 'readability-identifier-naming.VariableCase'
value: 'camelBack'
- key: 'readability-identifier-naming.ClassCase'
value: 'CamelCase'
- key: 'readability-identifier-naming.FunctionCase'
value: 'camelBack'
- key: 'cppcoreguidelines-avoid-magic-numbers.IgnoreEnums'
value: '1'
- key: 'cppcoreguidelines-avoid-magic-numbers.IgnoreOctalLiterals'
value: '1'