[clang-format] Microsoft style fixes for C# properties
authorJonathan Coe <jbcoe@google.com>
Tue, 9 Jun 2020 13:35:02 +0000 (14:35 +0100)
committerJonathan Coe <jbcoe@google.com>
Tue, 9 Jun 2020 13:50:34 +0000 (14:50 +0100)
commitf22b0727fe767cc8da5e0c59f4e957a05472ffa7
tree81b12870aca4f92a91b089c9c5da86bcf02303ba
parent70a21887f7bd0b38e7c0676d8b25cc8a9980e009
[clang-format] Microsoft style fixes for C# properties

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

Reviewers: krasimir, MyDeveloperDay

Reviewed By: krasimir

Subscribers: cfe-commits

Tags: #clang-format, #clang

Differential Revision: https://reviews.llvm.org/D81467
clang/lib/Format/UnwrappedLineParser.cpp
clang/unittests/Format/FormatTestCSharp.cpp