Skip to content

use consistent formatting: clang-format LLVM style#147

Open
mbkma wants to merge 1 commit into
masterfrom
clang
Open

use consistent formatting: clang-format LLVM style#147
mbkma wants to merge 1 commit into
masterfrom
clang

Conversation

@mbkma
Copy link
Copy Markdown
Member

@mbkma mbkma commented Jan 31, 2026

I think it would be nice to have consistent formatting across all MATE projects. Then we could also have github workflow step to check formatting on PRs automatically.

For now I used the command

find . -type f \( -name "*.c" -o -name "*.cpp" -o -name "*.h" \) -exec clang-format -i -style=LLVM {} +

I am also open to other styles.

@vkareh
Copy link
Copy Markdown
Member

vkareh commented Feb 4, 2026

I would rather not do massive non-functional changes like that. It will mess up any open PRs and active development branches, not to mention it makes using git blame and browsing through git history a bit more complex.

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.

2 participants