[clang-format] Wrap lines for C# property accessors
authorJonathan Coe <jbcoe@google.com>
Tue, 25 Feb 2020 13:59:52 +0000 (13:59 +0000)
committerJonathan Coe <jbcoe@google.com>
Tue, 25 Feb 2020 14:23:47 +0000 (14:23 +0000)
commit2bd6974aaa664f01e8822514295425fee380b131
treecf51d0e0f8f85ca0f97322613b40c15e5bf30112
parentedae4be8e21c5deb9a8ffc24a8c17e70b878bf39
[clang-format]  Wrap lines for C# property accessors

Summary: Ensure that auto-implemented properties `{ get; private set }` are wrapped on to one line for C# code.

Reviewers: MyDeveloperDay, krasimir

Reviewed By: MyDeveloperDay, krasimir

Subscribers: cfe-commits

Tags: #clang-format, #clang

Differential Revision: https://reviews.llvm.org/D75006
clang/lib/Format/UnwrappedLineFormatter.cpp
clang/unittests/Format/FormatTestCSharp.cpp