This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Microsoft style fixes for C# properties
ClosedPublic

Authored by jbcoe on Jun 9 2020, 6:12 AM.

Details

Summary

There should be no line break before the opening brace for Microsoft style property accessors when the accessor is a simple { get; set }.

https://docs.microsoft.com/en-us/dotnet/csharp/properties

Diff Detail

Event Timeline

jbcoe created this revision.Jun 9 2020, 6:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2020, 6:12 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
krasimir accepted this revision.Jun 9 2020, 6:14 AM

Thank you!

This revision is now accepted and ready to land.Jun 9 2020, 6:14 AM
This revision was automatically updated to reflect the committed changes.