-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy path.clang-tidy
More file actions
50 lines (48 loc) · 1.71 KB
/
.clang-tidy
File metadata and controls
50 lines (48 loc) · 1.71 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
Checks:
- '*'
- '-altera-unroll-loops'
- '-boost-use-ranges'
- '-clang-diagnostic-note'
- '-clang-diagnostic-error'
- '-cppcoreguidelines-avoid-do-while'
- '.cppcoreguidelines-non-private-member-variables-in-classes'
- '-cppcoreguidelines-pro-type-reinterpret-cast'
- '-cppcoreguidelines-pro-type-union-access'
- '-cppcoreguidelines-pro-type-vararg'
- '-fuchsia-default-arguments-calls'
- '-fuchsia-default-arguments-declarations'
- '-fuchsia-overloaded-operator'
- '-google-readability-todo'
- '-hicpp-uppercase-literal-suffix'
- '-hicpp-vararg'
- '-llvmlibc-*'
- '-llvm-header-guard'
- '-misc-no-recursion'
- '-misc-non-private-member-variables-in-classes'
- '-modernize-use-trailing-return-type'
- '-readability-*'
FormatStyle: 'file'
HeaderFilterRegex: '^(?!.*vulkan-renderer/build).*'
ExtraArgs:
- -std=c++20
CheckOptions:
- key: 'bugprone-argument-comment.CommentBoolLiterals'
value: '0'
- key: 'bugprone-assert-side-effect.AssertMacros'
value: 'assert'
- key: 'bugprone-dangling-handle.HandleClasses'
value: 'std::basic_string_view;std::experimental::basic_string_view'
- key: 'bugprone-dynamic-static-initializers.HeaderFileExtensions'
value: ',h,hh,hpp,hxx'
- key: 'bugprone-suspicious-string-compare.WarnOnImplicitComparison'
value: '1'
- key: 'cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors'
value: '1'
- key: 'cppcoreguidelines-no-malloc.Allocations'
value: '::malloc;::calloc'
- key: 'google-readability-function-size.StatementThreshold'
value: '800'
- key: 'readability-identifier-naming.FunctionCase'
value: 'lower_case'
- key: 'readability-static-accessed-through-instance.NameSpecifierNestingThreshold'
value: '3'