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

Remove some unnecessary clang-format hacks #3768

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

CaseyCarter
Copy link
Member

clang-format 16 doesn't need these anymore, and in fact they often make things worse. Note that "I don't like how clang formats this" isn't enough reason to mess with the formatting; the threshold for using annotations is "the code without annotations is so bad that having noise from annotations is an improvement."

@CaseyCarter CaseyCarter added the enhancement Something can be improved label Jun 13, 2023
@CaseyCarter CaseyCarter requested a review from a team as a code owner June 13, 2023 23:44
@StephanTLavavej
Copy link
Member

Thanks! Those parentheses used to be necessary but they were really messing things up now!

@StephanTLavavej StephanTLavavej self-assigned this Jun 14, 2023
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit e856227 into microsoft:main Jun 15, 2023
@StephanTLavavej
Copy link
Member

Thanks for noticing and cleaning up all of these formatting relics! 🧹 🧹 🧹

@CaseyCarter CaseyCarter deleted the formatting branch June 15, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something can be improved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants