Skip to content
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

NFC: Cleanups #61

Merged
merged 1 commit into from
May 14, 2020
Merged

NFC: Cleanups #61

merged 1 commit into from
May 14, 2020

Conversation

ob
Copy link
Member

@ob ob commented May 14, 2020

This PR standardizes the C formatting using clang-format, and fixes a bunch of errors flagged by buildifier. It also removes some dead code. It is a non-functional change.

I was finishing #52 but kept mixing up formatting changes with the actual changes so I figured I'd do the cleanups first and then rebase #52 on top of this.

@ob ob force-pushed the ob/clang-format branch 3 times, most recently from 41b5a15 to a0eb75a Compare May 14, 2020 03:36
@ob ob force-pushed the ob/clang-format branch from a0eb75a to e4dd585 Compare May 14, 2020 14:56
Copy link
Member

@segiddins segiddins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! While we're at it, let's also have CI run buildifier with -lint so we don't regress on some of the starlark fixes?

rules/framework.bzl Outdated Show resolved Hide resolved
rules/library.bzl Show resolved Hide resolved
@ob ob force-pushed the ob/clang-format branch from e4dd585 to 70076d8 Compare May 14, 2020 22:37
@ob ob force-pushed the ob/clang-format branch from 70076d8 to 9a491c4 Compare May 14, 2020 22:52
@gyfelton
Copy link
Contributor

conflicts due to my changes in previous PR. sorry :)

Also enable starlark linting in CI
@ob ob force-pushed the ob/clang-format branch from 9a491c4 to 0637a17 Compare May 14, 2020 23:17
@ob
Copy link
Member Author

ob commented May 14, 2020

No worries, it wasn't hard to merge.

@ob ob merged commit daace38 into master May 14, 2020
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.

3 participants