mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 11:39:48 +00:00
4af094c8df
Check the codebase with clang-tidy version 8, fix the low hanging fruits, blacklist the rest.
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
---
|
|
Checks: "-*,\
|
|
bugprone-*,\
|
|
-bugprone-macro-parentheses,\
|
|
-bugprone-misplaced-widening-cast,\
|
|
-bugprone-narrowing-conversions,\
|
|
-bugprone-too-small-loop-variable,\
|
|
google-readability-casting,\
|
|
misc-*,\
|
|
-misc-incorrect-roundings,\
|
|
-misc-macro-parentheses,\
|
|
-misc-misplaced-widening-cast,\
|
|
-misc-non-private-member-variables-in-classes,\
|
|
-misc-static-assert,\
|
|
modernize-*,\
|
|
-modernize-avoid-c-arrays,\
|
|
-modernize-deprecated-headers,\
|
|
-modernize-return-braced-init-list,\
|
|
-modernize-use-auto,\
|
|
-modernize-use-nodiscard,\
|
|
-modernize-use-noexcept,\
|
|
-modernize-use-transparent-functors,\
|
|
-modernize-use-using,\
|
|
performance-*,\
|
|
-performance-inefficient-string-concatenation,\
|
|
readability-*,\
|
|
-readability-function-size,\
|
|
-readability-identifier-naming,\
|
|
-readability-implicit-bool-cast,\
|
|
-readability-implicit-bool-conversion,\
|
|
-readability-inconsistent-declaration-parameter-name,\
|
|
-readability-isolate-declaration,\
|
|
-readability-magic-numbers,\
|
|
-readability-named-parameter,\
|
|
-readability-redundant-declaration,\
|
|
-readability-uppercase-literal-suffix,\
|
|
"
|
|
HeaderFilterRegex: 'Source/cm[^/]*\.(h|hxx|cxx)$'
|
|
CheckOptions:
|
|
- key: modernize-use-default-member-init.UseAssignment
|
|
value: '1'
|
|
- key: modernize-use-equals-default.IgnoreMacros
|
|
value: '0'
|
|
...
|