Add a clang-tidy file.

This commit is contained in:
Lior Stern 2020-03-31 16:54:21 +03:00 committed by ridiculousfish
parent 639ea3caa0
commit d6e2110cdf

13
.clang-tidy Normal file
View File

@ -0,0 +1,13 @@
---
Checks: 'clang-diagnostic-*,clang-analyzer-*,cert-*,performance-*,portability-*'
WarningsAsErrors: ''
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: File
CheckOptions:
- key: cert-dcl16-c.NewSuffixes
value: 'L;LL;LU;LLU'
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
value: '0'
...