Skip to content

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.

2 participants