-
Notifications
You must be signed in to change notification settings - Fork 5
Code format uncrustify #70
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
base: master
Are you sure you want to change the base?
Conversation
0f0a71d to
5c20213
Compare
5c20213 to
d0cbdcc
Compare
bf436ac to
7e9728e
Compare
760988f to
9d5ac5a
Compare
4b1be2c to
dd551fd
Compare
|
uncrustify was updated so I updated everything |
ikstream
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor thinks, but looks good to me so far
c9d134f to
8af9a06
Compare
2127cac to
c1590ac
Compare
c1590ac to
012c81f
Compare
ikstream
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm so far, except for the commented types of indentions
ikstream
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only one nitpick left from my side. Do we need to address this, or do you think it's OK to leave it that way?
| */ | ||
| #ifndef offsetof | ||
| #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) | ||
| # define offsetof(TYPE, MEMBER) ((size_t)&((TYPE*)0)->MEMBER) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While it should work it does not look right to me
Related Issues & PRs
Description
uncrustifyto format codecheck-uncrustifyto see if code format is needed.uncrustify.cfgconfigContext
uncrustifymay be better suited thanclang-formatfor our use-casesimply run
make check-uncrustifyto see what would change on formatTesting
make formatmake check-formatDocumentation