Skip to content

Chore/improve clang format configuration - #10663

Merged
mgallien merged 5 commits into
masterfrom
chore/applyClangFormat
Aug 25, 2026
Merged

Chore/improve clang format configuration#10663
mgallien merged 5 commits into
masterfrom
chore/applyClangFormat

Conversation

@mgallien

Copy link
Copy Markdown
Collaborator

try to make our existing clang-format configuration to be closer to what we want

also try to make the existing CI works better

also try to enable pre-commit clang-format checks via KDE's ECM

also try to improve results from AI coding agents with regard to code format

Resolves

#

Summary

TODO

  • ...

Checklist

AI (if applicable)

@mgallien

Copy link
Copy Markdown
Collaborator Author

/backport to stable-34.0 please

@mgallien
mgallien force-pushed the chore/applyClangFormat branch from e5e598b to c9a2685 Compare August 25, 2026 10:00
switch to ubuntu-26.04 to get more recent clang-format

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
should enable clang-format to check for missing braces

this is also limited by its inability to have a full code representation
that is what clang-tidy is made for

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
should also improve readibility

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Assisted-by: ClaudeCode:claude-sonnet-5
@mgallien
mgallien enabled auto-merge August 25, 2026 19:02
@mgallien
mgallien force-pushed the chore/applyClangFormat branch from c9a2685 to 28d5ceb Compare August 25, 2026 19:02
@github-actions

Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-10663.zip

Digest: sha256:ebb9ab8e0b285c35e6fbcedd8fcc6aac6b3d1894e68454fa933139dc027238a4

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarqubecloud

Copy link
Copy Markdown

@mgallien
mgallien merged commit 6d79bd9 into master Aug 25, 2026
24 checks passed
@mgallien
mgallien deleted the chore/applyClangFormat branch August 25, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants