Skip to content

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

Merged
merged 2 commits into from
Mar 1, 2021
Merged

3C code style pass 2021-02 #462

merged 2 commits into from
Mar 1, 2021

Conversation

mattmccutchen-cci
Copy link
Member

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 and clangd3c still builds. I think those are the important things.

Copy link
Member

@mwhicks1 mwhicks1 left a 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.

Copy link
Member Author

@mattmccutchen-cci mattmccutchen-cci left a 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.

@mattmccutchen-cci mattmccutchen-cci merged commit b89dbe1 into main Mar 1, 2021
@mattmccutchen-cci mattmccutchen-cci deleted the style-202102 branch March 1, 2021 14:19
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