diff options
author | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-05-28 17:59:24 +0300 |
---|---|---|
committer | Camila <smayres@gmail.com> | 2020-06-03 17:10:39 +0300 |
commit | e3e262e42e97d7aa4c1e0391ce706c0a0cd92dd9 (patch) | |
tree | db7f080c681e0e5f00970b096dceae3cacdc3af7 /.clang-tidy | |
parent | 965909f7fa60ee9b8a0e06112c79b0b105ccc73e (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-tidy | 4 |
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 |