[clang-format] C# does not indent braced initializers as continuations
authorJonathan Coe <jbcoe@google.com>
Mon, 9 Mar 2020 17:33:53 +0000 (17:33 +0000)
committerJonathan Coe <jbcoe@google.com>
Mon, 9 Mar 2020 17:36:21 +0000 (17:36 +0000)
commiteb682b80274d5486d062e3f53040969f592277e4
treee071ae3956aae56b270cdedae82b2c81340847cb
parent63b683a8168fa03bd8dfa7567c73ad507104f666
[clang-format] C# does not indent braced initializers as continuations

Summary: C# treats object initializers as braced init blocks. Braced init blocks are no longer indented as continuations.

Reviewers: krasimir

Reviewed By: krasimir

Subscribers: cfe-commits

Tags: #clang-format, #clang

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