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-05-28 17:59:24 +0300
committerCamila <smayres@gmail.com>2020-06-03 17:10:39 +0300
commite3e262e42e97d7aa4c1e0391ce706c0a0cd92dd9 (patch)
treedb7f080c681e0e5f00970b096dceae3cacdc3af7 /.clang-tidy
parent965909f7fa60ee9b8a0e06112c79b0b105ccc73e (diff)
Use default member init when applicable
This also fixes a couple of warnings at places (out of order init for instance) and a potential bug in the webflow credentials / qtkeychain integration. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy4
1 files changed, 4 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 071f522fd..9c41a78db 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -6,6 +6,7 @@ Checks: '-*,
modernize-shrink-to-fit,
modernize-use-auto,
modernize-use-bool-literals,
+ modernize-use-default-member-init,
modernize-use-emplace,
modernize-use-noexcept,
modernize-use-transparent-functors,
@@ -15,3 +16,6 @@ WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
AnalyzeTemporaryDtors: false
FormatStyle: none
+CheckOptions:
+ - key: modernize-use-default-member-init.UseAssignment
+ value: 1