This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Reflow long C# generic type constraints correctly
ClosedPublic

Authored by jbcoe on Mar 23 2020, 4:11 AM.

Details

Summary

Align sequential generic type constraints on a type.

Indent sequential generic type constraints on different types as continuations.

Do not allow '(' and '<' within a generic type constraint to open new scopes.

Diff Detail

Event Timeline

jbcoe created this revision.Mar 23 2020, 4:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 23 2020, 4:11 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
krasimir accepted this revision.Mar 23 2020, 5:52 AM

Awesome! Thank you!

This revision is now accepted and ready to land.Mar 23 2020, 5:52 AM
This revision was automatically updated to reflect the committed changes.