This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Handle unions like structs and classes
ClosedPublic

Authored by HazardyKnusperkeks on Oct 13 2022, 5:41 AM.

Details

Summary

There is no reason why unions should be handled differently, I think they are just forgotten since they are not used that often.

No test case added, since that would be complicated to produce.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptOct 13 2022, 5:41 AM
HazardyKnusperkeks requested review of this revision.Oct 13 2022, 5:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 13 2022, 5:41 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
owenpan accepted this revision.Oct 13 2022, 3:53 PM

LGTM

This revision is now accepted and ready to land.Oct 13 2022, 3:53 PM
This revision was landed with ongoing or failed builds.Oct 24 2022, 12:28 PM
This revision was automatically updated to reflect the committed changes.