Skip to content

aco: clang-format

Based on src/amd/.clang-format with a PointerAlignment rule for C++ to force pointers to the type.

Manually adjusted some comments for more intuitive line breaks, which means that this effect cannot be regenerated by a single command.

You can format your patches with git clang-format.

You can rebase your merge requests using

git rebase origin/main -x "git clang-format HEAD\~1 && git add -u && git commit --amend --no-edit"

Based on !11271 (merged) which cleans up the #includes.

Edited by Daniel Schürmann

Merge request reports