Infomaniak / desktop-kDrive

:computer: Desktop Syncing Client for kDrive
GNU General Public License v3.0
19 stars 4 forks source link

[KDESKTOP-968] applied c++20 style and new features #174

Closed herve-er closed 3 weeks ago

herve-er commented 2 months ago

This PR aims to do a first pass of refactoring to applied c++20 recommended style to our code base.

herve-er commented 2 months ago

This PR intentionally does not include any conversion to std::format. see : Jira 🎫

Clang has been updated to include support for nearly all C++20 features (almost all according to C++ compiler support - cppreference.com ). On macOS, we currently use the latest version of Xcode. However, we're limited by the support of macOS 10.15, which has been deprecated since September 12, 2022. Features like std::format and possibly other C++20 utilities require at least macOS 13.3. Since macOS 12 will be deprecated around November 1, 2024, it would be beneficial to update our supported macOS version at that time.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
52 New issues
2 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
2.6% Duplication on New Code

See analysis details on SonarCloud

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
174 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
2.4% Duplication on New Code

See analysis details on SonarCloud