Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@nextcloud.com>2020-08-12 12:22:16 +0300
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>2020-08-12 16:13:08 +0300
commit07b7753216530e1b90afaeeda045ae6333af2145 (patch)
treebaac0461d5acfdfc7f03abb71f05841570e38eba /.clang-tidy
parent1767c0295f8a1b2ee7df86899c40db83db76a60a (diff)
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>
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy7
1 files changed, 7 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 4c03e129d..cda2510ad 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1,16 +1,23 @@
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,
'