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 #92

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from
Open

Add Clang format #92

wants to merge 2 commits into from

Conversation

rfbird
Copy link
Contributor

@rfbird rfbird commented Jan 8, 2020

@dnystrom1 this is what clang format would look like

@rfbird rfbird changed the base branch from master to devel January 8, 2020 21:45
@rfbird rfbird closed this Jan 8, 2020
@rfbird rfbird reopened this Jan 8, 2020
@dnystrom1
Copy link
Contributor

I would like to see what clang format does to the current format before committing to it. Is there a way for me to take a clone of the current devel version and run it through clang format so I can see what it does to my manually formatted code?

@rfbird
Copy link
Contributor Author

rfbird commented Jan 8, 2020

Yes, this branch adds the command make format which will do it if you have clang format installed. This branch also has that done, so you can see a side by side on the "file changes" page:

https://github.com/lanl/vpic/pull/92/files

There are obviously almost infinite options we can set to twiddle with things, but I am happy with how it is right now

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.

None yet

2 participants