Fix clang-tidy config file

Now you are able to check with this file
Note: better to install and used run-clang-tidy.py
from clang git repo:
https://github.com/llvm-mirror/clang-tools-extra/blob/master/clang-tidy/tool/run-clang-tidy.py
see too
https://www.kdab.com/clang-tidy-part-1-modernize-source-code-using-c11c14/
pull/1440/head
ClausKlein 6 years ago
parent 0d8da49700
commit 2d395a557f

@ -1,4 +1,5 @@
Checks: '\
---
Checks: "-*,\
cppcoreguidelines-*,\
performance-*,\
-performance-unnecessary-value-param,\
@ -10,14 +11,15 @@ misc-*,\
-misc-non-private-member-variables-in-classes,\
cert-*,\
readability-*,\
clang-analyzer-*'
clang-analyzer-*\
"
WarningsAsErrors: ''
HeaderFilterRegex: 'include/spdlog/[^f].*'
AnalyzeTemporaryDtors: false
FormatStyle: none
CheckOptions:
CheckOptions:
- key: google-readability-braces-around-statements.ShortStatementLines
value: '1'
- key: google-readability-function-size.StatementThreshold

Loading…
Cancel
Save