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 file and reformat all files #40

Merged
merged 6 commits into from
Jul 9, 2024
Merged

Conversation

felipecrv
Copy link
Contributor

I tried to make the .clang-format as conservative and compatible with the existing formatting as possible.

The last commit doesn't have to be manually reviewed, you can reproduce it by running the shell command I added in the commit message.

@felipecrv felipecrv requested a review from prmoore77 July 3, 2024 21:33
This commit doesn't include any manual change. It can be fully
reproduced by:

    find src -type f -name "*.h" -or -name "*.cpp" | xargs -n1 clang-format -i
Might enable SortIncludes later. Not enabling it now to avoid any
breakage.
This commit doesn't include any manual change. It can be fully
reproduced by:

    find src -type f -name "*.h" -or -name "*.cpp" | xargs -n1 clang-format -i
Copy link
Contributor

@prmoore77 prmoore77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@prmoore77 prmoore77 merged commit ad0f7d9 into main Jul 9, 2024
7 checks passed
@prmoore77 prmoore77 deleted the clang-format branch July 9, 2024 14:07
@felipecrv felipecrv changed the title Add two .clang-format files and reformat all files Add .clang-format file and reformat all files Jul 9, 2024
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