Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clang format #503

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Add clang format #503

wants to merge 4 commits into from

Conversation

LinkTed
Copy link
Contributor

@LinkTed LinkTed commented Mar 11, 2022

I create a clang format file with options, which I think are useful. This would make the development faster because the style code checking is automated. It seems that the style was not consisted through the files. The code is already formatted according to the clang format file. So, we can see the result of the style code definition. I am open to change the clang format file, if something does not look nice in your opinion. I also add a GitHub action to check the code format for PRs.

@LinkTed LinkTed force-pushed the clang-format branch 4 times, most recently from ccf700a to 35d6b7d Compare March 12, 2022 15:21
@LinkTed LinkTed force-pushed the clang-format branch 2 times, most recently from 951dfda to b6a1621 Compare May 26, 2022 16:09
src/checkpath/checkpath.c Outdated Show resolved Hide resolved
.clang-format Show resolved Hide resolved
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