Skip to content

Move project to clang-format#5

Merged
laelath merged 3 commits into
masterfrom
formatting
Dec 17, 2018
Merged

Move project to clang-format#5
laelath merged 3 commits into
masterfrom
formatting

Conversation

@jwaataja

Copy link
Copy Markdown
Collaborator

I reformatted the code using clang-format. This is a tool that automatically formats C and C++ code. The provided .clang-format file uses the same style as before except that continuation lines are indented a full tab instead of four spaces.

Automatic formatting tools take away the burden of thinking about indentation and other style issues and improve consistency.

@laelath

laelath commented Dec 17, 2018

Copy link
Copy Markdown
Owner

Could you fix the conflicts from merging the scrolling branch? Otherwise I see no reason to not merge this, though maybe we should use spaces instead of tabs? Not sure what your preference is.

@jwaataja

Copy link
Copy Markdown
Collaborator Author

Done.

@laelath laelath merged commit c4d2ae2 into master Dec 17, 2018
@laelath laelath deleted the formatting branch March 31, 2019 20:05
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