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

Make code style consistent #35

Merged
merged 3 commits into from Jan 19, 2017
Merged

Make code style consistent #35

merged 3 commits into from Jan 19, 2017

Conversation

alistairking
Copy link
Member

@alistairking alistairking commented Jan 19, 2017

As noted in Issue #24, we were in need of a consistent code style throughout the project.

This adds a clang-format configuration file (.clang-format) and a format make target to automatically reformat all code. It also re-formats all existing code to match this style.

The style that I have adopted is very similar to the LLVM style, but see the .clang-format file added by this PR for definitive information.

I'm also happy to hear arguments for changing a specific aspect of the style.

@alistairking alistairking merged commit 7a58de7 into master Jan 19, 2017
@alistairking alistairking deleted the clang-format branch January 19, 2017 19:41
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

1 participant