-
Notifications
You must be signed in to change notification settings - Fork 5
3C code style pass 2021-02 #462
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
Conversation
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 questions and potential things to change, but not a big deal.
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.
Thanks for the careful review that caught two mistakes! I've fixed them and I'm guessing you want me to just merge this now, so I will.
This consists of
clang-format
,clang-tidy
, some plain old text wrapping using Emacs, and some ad-hoc tweaks. I'm happy with it but would welcome any scrutiny from others.A finer-grained (and messier) history is available here. I always run code style passes on 5C so that in case an element in 3C is renamed, any references in 5C get updated, but that didn't happen this time. Then I applied the overall 3C diff to 3C.
check-3c
still passes on Linux and Windows X86 and X64 andclangd3c
still builds. I think those are the important things.