This revision was automatically updated to reflect the committed changes.
Closed by commit rG5e1a026c2d81: [clang-format] Do not indent C# array
initialisers as continuations (authored by Jonathan Coe
).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https:/
jbcoe updated this revision to Diff 252028.
jbcoe added a comment.
Rebase and update patch.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75760/new/
https://reviews.llvm.org/D75760
Files:
clang/lib/Format/UnwrappedLineParser.cpp
clang/unittests/Format/FormatTestCSharp.cpp
Index:
krasimir accepted this revision.
krasimir added a comment.
This revision is now accepted and ready to land.
This is OK with the comment in the code. Thank you!
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75760/new/
https://reviews.llvm.org/D75760
___
jbcoe marked an inline comment as done.
jbcoe added inline comments.
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:1443
+if (Style.isCSharp())
+ FormatTok->BlockKind = BK_BracedInit;
nextToken();
krasimir wrote:
> A more general a
krasimir requested changes to this revision.
krasimir added inline comments.
This revision now requires changes to proceed.
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:1443
+if (Style.isCSharp())
+ FormatTok->BlockKind = BK_BracedInit;
nextToken
jbcoe created this revision.
jbcoe added a reviewer: krasimir.
jbcoe added a project: clang-format.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
jbcoe added a comment.
Needs https://reviews.llvm.org/D75731 and https://reviews.llvm.org/D75747 to be
merged first.
Flag '=
jbcoe added a comment.
Needs https://reviews.llvm.org/D75731 and https://reviews.llvm.org/D75747 to be
merged first.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75760/new/
https://reviews.llvm.org/D75760
__