-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
24 lines (22 loc) · 1.12 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
---
# enable useful checks and disable a bunch of false positives :-(
# TODO: splitting into multiple lines doesn't seem to work...
Checks: 'clan*,cert*,misc*,perf*,cppc*,mode*,-*pointer-arithmetic,-*vararg,-*reinterpret-cast,-*array-to-pointer-decay,-*union-access,-cppcoreguidelines-pro-type-member-init,-cert-dcl50-cpp,-cppcoreguidelines-c-copy-assignment-signature,-misc-unconventional-assign-operator,-cppcoreguidelines-no-malloc,-cppcoreguidelines-pro-bounds-constant-array-index,-cert-err60-cpp,-cert-dcl58-cpp'
WarningsAsErrors: ''
HeaderFilterRegex: '.*'
AnalyzeTemporaryDtors: false
User: daniel
CheckOptions:
- key: modernize-loop-convert.MaxCopySize
value: '16'
- key: modernize-loop-convert.MinConfidence
value: reasonable
- key: modernize-loop-convert.NamingStyle
value: CamelCase
- key: modernize-pass-by-value.IncludeStyle
value: llvm
- key: modernize-replace-auto-ptr.IncludeStyle
value: llvm
- key: modernize-use-nullptr.NullMacros
value: 'NULL'
...