Skip to content

Feature/e2ee v2 foldersharing #2874

Feature/e2ee v2 foldersharing

Feature/e2ee v2 foldersharing #2874

Triggered via pull request January 22, 2024 20:40
Status Success
Total duration 1m 48s
Artifacts

clang-format.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 10 warnings, and 10 notices
src/common/checksums.cpp:94:34 [bugprone-easily-swappable-parameters]: src/common/checksums.cpp#L94
2 adjacent parameters of 'calcCryptoHash' of similar type are easily swapped by mistake
src/libsync/basepropagateremotedeleteencrypted.cpp:24:1 [cppcoreguidelines-avoid-non-const-global-variables]: src/libsync/basepropagateremotedeleteencrypted.cpp#L24
variable 'Q_LOGGING_CATEGORY' is non-const and globally accessible, consider making it const
src/libsync/discoveryphase.cpp:367:1 [cppcoreguidelines-pro-type-member-init]: src/libsync/discoveryphase.cpp#L367
constructor does not initialize these fields: , , _results, _subPath, _firstEtag, _fileId, _localFileId, _account, _error, _lsColJob, _topLevelE2eeFolderPaths, _dataFingerprint
src/libsync/discoveryphase.cpp:367:58 [bugprone-easily-swappable-parameters]: src/libsync/discoveryphase.cpp#L367
3 adjacent parameters of 'DiscoverySingleDirectoryJob' of similar type ('const int &') are easily swapped by mistake
Run clang-format on src/common/syncjournaldb.cpp: src/common/syncjournaldb.cpp#L1
File src/common/syncjournaldb.cpp does not conform to Custom style guidelines. (lines 1078, 1079)
Run clang-format on src/csync/csync.h: src/csync/csync.h#L1
File src/csync/csync.h does not conform to Custom style guidelines. (lines 53, 59, 64)
Run clang-format on src/gui/folderman.cpp: src/gui/folderman.cpp#L1
File src/gui/folderman.cpp does not conform to Custom style guidelines. (lines 1543, 1544, 1550, 1551, 1552, 1553, 1554, 1555, 1559)
Run clang-format on src/gui/folderman.h: src/gui/folderman.h#L1
File src/gui/folderman.h does not conform to Custom style guidelines. (lines 19)
Run clang-format on src/gui/sharemanager.cpp: src/gui/sharemanager.cpp#L1
File src/gui/sharemanager.cpp does not conform to Custom style guidelines. (lines 491, 492, 493)
Run clang-format on src/gui/sharemanager.h: src/gui/sharemanager.h#L1
File src/gui/sharemanager.h does not conform to Custom style guidelines. (lines 428, 429, 430)
Run clang-format on src/libsync/basepropagateremotedeleteencrypted.cpp: src/libsync/basepropagateremotedeleteencrypted.cpp#L1
File src/libsync/basepropagateremotedeleteencrypted.cpp does not conform to Custom style guidelines. (lines 15, 26, 32, 69, 70, 71, 137, 138, 158, 177, 179)
Run clang-format on src/libsync/clientsideencryption.cpp: src/libsync/clientsideencryption.cpp#L1
File src/libsync/clientsideencryption.cpp does not conform to Custom style guidelines. (lines 68, 69, 1774, 1787, 1793, 1801, 1807, 1816, 1824, 1832, 1840, 1854, 1864, 1870, 1878, 1884, 1894, 1908, 1919, 1924)
Run clang-format on src/libsync/clientsideencryption.h: src/libsync/clientsideencryption.h#L1
File src/libsync/clientsideencryption.h does not conform to Custom style guidelines. (lines 30, 72, 73, 75)
Run clang-format on src/libsync/clientsideencryptionjobs.cpp: src/libsync/clientsideencryptionjobs.cpp#L1
File src/libsync/clientsideencryptionjobs.cpp does not conform to Custom style guidelines. (lines 81, 83, 85, 86, 87, 88, 128, 139, 141, 144, 191, 267, 268, 269, 383)