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

Add a global .clang-format. #1001

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Add a global .clang-format. #1001

merged 1 commit into from
Apr 16, 2024

Conversation

DanAlbert
Copy link
Member

This can't be enforced automatically because there's no good way to ensure that every developer is using the same clang-format, and there are style differences across versions (that's what bug fixes and improvements do in an auto-formatter). Still it's useful to provide one of these that can at least be used for reformatting modified sections, even if it'd cause a lot of churn to apply globally.

This can't be enforced automatically because there's no good way to
ensure that every developer is using the same clang-format, and there
are style differences across versions (that's what bug fixes and
improvements do in an auto-formatter). Still it's useful to provide one
of these that can at least be used for reformatting modified sections,
even if it'd cause a lot of churn to apply globally.
@DanAlbert DanAlbert merged commit c07738e into android:main Apr 16, 2024
2 checks passed
@DanAlbert DanAlbert deleted the clang-format branch April 17, 2024 21:38
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