Skip to content

Add clang-format options file and format examples to a uniform style #204

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guilhermgonzaga
Copy link

Hello.
I noticed that some of the examples had tabs and spaces mixed, among other things, so I made a .clang_format file based on the general style on the code and applied on the examples to improve on:

  • inconsistent use of tabs and spaces (used spaces everywhere)
  • inconsistent indentation
  • trailing whitespace and other details

Changes were all whitespace and should not change behavior.

Add options file `.clang-format` to run clang-format when needed;
Format examples to improve:
- inconsistent use of tabs and spaces
- inconsistent indentation
- trailing whitespace and other details
@biomurph
Copy link
Contributor

@guilhermgonzaga
Hey, this is great! I will review and merge this week. Thanks!

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