Skip to content

Workaround clang-format misbehavior in P0898R3_concepts test#2356

Merged
StephanTLavavej merged 1 commit into
microsoft:mainfrom
cpplearner:workaround-clang-format
Dec 9, 2021
Merged

Workaround clang-format misbehavior in P0898R3_concepts test#2356
StephanTLavavej merged 1 commit into
microsoft:mainfrom
cpplearner:workaround-clang-format

Conversation

@cpplearner
Copy link
Copy Markdown
Contributor

I noticed this when preparing #2351. After investigation, I found that there's already a bug report (LLVM-48305), and there's a simple workaround.

The only non-whitespace changes are the addition of a semicolon and a comment, and the removal of two comments.

@cpplearner cpplearner requested a review from a team as a code owner November 23, 2021 10:37
@CaseyCarter CaseyCarter added the test Related to test code label Nov 23, 2021
Copy link
Copy Markdown
Contributor

@CaseyCarter CaseyCarter left a comment

Choose a reason for hiding this comment

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

Nice!

@StephanTLavavej
Copy link
Copy Markdown
Member

Thanks! I think I added the comment // TRANSITION, clang-format damage (not yet reported) when I originally clang-formatted the codebase and then promptly forgot about it. 🙀

@StephanTLavavej StephanTLavavej self-assigned this Dec 8, 2021
@StephanTLavavej
Copy link
Copy Markdown
Member

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

@StephanTLavavej StephanTLavavej merged commit 71e9a4e into microsoft:main Dec 9, 2021
@StephanTLavavej
Copy link
Copy Markdown
Member

Thanks for significantly improving the formatting here! 😻 🎉 ✨

@cpplearner cpplearner deleted the workaround-clang-format branch December 9, 2021 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Related to test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants