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

[format] Manually correct code style of examples. #418

Merged
merged 2 commits into from
Apr 20, 2020

Conversation

turon
Copy link
Contributor

@turon turon commented Apr 17, 2020

Problem

Make example sources code style compliant to prevent restyled getting involved whenever these files are touched.

Summary of Changes

Manual run of clang-format on examples.

workaround #345 until resolved

Copy link
Contributor

@woody-apple woody-apple left a comment

Choose a reason for hiding this comment

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

Please update clang-format so restyled does this automatically.

@woody-apple
Copy link
Contributor

Note: Later today or this weekend I plan on putting up an Uber format-fixing patch, as Make Pretty doesn’t cover all headers and source, as well as we need to get everything up to scratch with restyled.

@woody-apple
Copy link
Contributor

woody-apple commented Apr 17, 2020

@turon I also see one problem, you need to rebase your branch, you’re using a very old restyled config here

@turon turon force-pushed the pr/style/examples branch from 630ec62 to 7fc96cd Compare April 17, 2020 20:43
@turon turon force-pushed the pr/style/examples branch from 7fc96cd to c10689e Compare April 17, 2020 21:38
@turon
Copy link
Contributor Author

turon commented Apr 17, 2020

Rebased over #392 and restyled auto-closed it's issues as expected. Cool!

@woody-apple woody-apple self-requested a review April 17, 2020 21:52
@turon turon force-pushed the pr/style/examples branch from 46bba45 to f812d1b Compare April 17, 2020 22:23
@turon turon force-pushed the pr/style/examples branch from f812d1b to 7601482 Compare April 17, 2020 22:31
@woody-apple woody-apple merged commit 7e4ad1c into project-chip:master Apr 20, 2020
@turon turon deleted the pr/style/examples branch April 20, 2020 18:21
@rwalker-apple
Copy link
Contributor

these examples are deliberately excluded from restyled's scans

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.

6 participants