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

Make clang-format happy #6177

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Conversation

sudonatalie
Copy link
Collaborator

The build is failing due to clang-format modifying these lines. I've changed them to what clang-format wants even though it's a bit odd, and updated the CMake script to make the error message more clear when this type of failure occurs.

The build is failing due to clang-format modifying these lines. I've
changed them to what clang-format wants even though it's a bit odd, and
updated the CMake script to make the error message more clear when this
type of failure occurs.
@sudonatalie
Copy link
Collaborator Author

I'm not sure if this is due to a change in clang-format, so we'll see if the bots fail this now. @Keenuts, @cassiebeckley and I are all getting local build failures, but I think we're all working with a tip-of-tree build of clang-format, and maybe we don't want to try to keep up with that if that's the cause...

Copy link
Collaborator

@llvm-beanz llvm-beanz left a comment

Choose a reason for hiding this comment

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

Yea... this is because of the switch nesting.

@sudonatalie sudonatalie enabled auto-merge (squash) January 22, 2024 19:34
@sudonatalie sudonatalie merged commit 5ed628d into microsoft:main Jan 22, 2024
13 checks passed
@sudonatalie sudonatalie deleted the weird-format-fix branch January 22, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants