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

feat: Add clang-format for formatting C/C++ #101

Merged
merged 4 commits into from
Jan 16, 2024

Conversation

jsharpe
Copy link
Contributor

@jsharpe jsharpe commented Jan 16, 2024


Type of change

  • New feature or functionality (change which adds functionality)

For changes visible to end-users

  • Suggested release notes are provided below:
    Add support for formatting C/C++ code using clang-format.

Test plan

  • New test cases added
    Added example C++ file to show it is formatted by clang-format when format is run.

Copy link
Member

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

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

thanks!

example/tools/BUILD Outdated Show resolved Hide resolved
format/private/format.sh Show resolved Hide resolved
format/private/formatter_binary.bzl Outdated Show resolved Hide resolved
@alexeagle alexeagle merged commit 09efa00 into aspect-build:main Jan 16, 2024
8 checks passed
@jsharpe jsharpe deleted the clangformat branch January 20, 2024 21:23
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.

None yet

2 participants