Skip to content

Apply clang format#490

Open
simon-schlepphorst wants to merge 2 commits intoIPPL-framework:masterfrom
simon-schlepphorst:apply_clang_format
Open

Apply clang format#490
simon-schlepphorst wants to merge 2 commits intoIPPL-framework:masterfrom
simon-schlepphorst:apply_clang_format

Conversation

@simon-schlepphorst
Copy link
Copy Markdown

Follow up to #479, applying clang format to all files.

Tool version:
clang-format version 21.1.8
Command line for reproducibility:
`find . -iname "*.h" -o -iname "*.hpp" -o -iname "*.cpp" | xargs clang-format -style=file -i`
@biddisco
Copy link
Copy Markdown
Collaborator

biddisco commented Apr 1, 2026

cscs-ci run cscs-ci-gh200, cscs-ci-mi300, cscs-ci-openmp

@biddisco
Copy link
Copy Markdown
Collaborator

biddisco commented Apr 1, 2026

General comment - anyone who has a branch that precedes the clang-reformat may have trouble with merge conflicts and it's a good idea to warn users that this is going to be merged so that they can get PRs merged 'before' this goes in - (or spend some time clang formatting their stuff and syncing with the new master, it can be a bit tedious/tricky to get right)

@srikrrish
Copy link
Copy Markdown
Member

General comment - anyone who has a branch that precedes the clang-reformat may have trouble with merge conflicts and it's a good idea to warn users that this is going to be merged so that they can get PRs merged 'before' this goes in - (or spend some time clang formatting their stuff and syncing with the new master, it can be a bit tedious/tricky to get right)

Good point. I can see the PIF/NUFFT merge as relatively big merge in the horizon and it is better to do that before this one in order to avoid problems like the ones you mentioned. May be there is more but at least this is what I can think of at the moment.

@aaadelmann
Copy link
Copy Markdown
Member

Very good point and a step by step how-to would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants