1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2025-02-24 09:45:59 +01:00
Nextcloud-Desktop/.clang-tidy
Kevin Ottens 07b7753216 Enable "trivial" modernize clang-tidy checks
This is a bunch of modernize checks which we don't hit at all. This is
an easy win and also make sure those old constructs won't creep up
behind our back.

Note that some of them won't trigger until we bump our C++ baseline
standard to C++17. But I'd say that's OK, that'll force our hand to do
those C++17 related cleanups when the time comes.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-08-12 13:13:08 +00:00

31 lines
882 B
YAML

Checks: '-*,
cppcoreguidelines-init-variables,
modernize-avoid-bind,
modernize-concat-nested-namespaces,
modernize-deprecated-ios-base-aliases,
modernize-make-*,
modernize-raw-string-literal,
modernize-redundant-void-arg,
modernize-replace-*,
modernize-return-braced-init-list,
modernize-shrink-to-fit,
modernize-unary-static-assert,
modernize-use-auto,
modernize-use-bool-literals,
modernize-use-default-member-init,
modernize-use-emplace,
modernize-use-equals-delete,
modernize-use-nodiscard,
modernize-use-noexcept,
modernize-user-override,
modernize-use-transparent-functors,
modernize-use-uncaught-exceptions,
'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
AnalyzeTemporaryDtors: false
FormatStyle: none
CheckOptions:
- key: modernize-use-default-member-init.UseAssignment
value: 1