[PATCH] D75760: [clang-format] Do not indent C# array initialisers as continuations

2020-03-23 Thread Phabricator via Phabricator via cfe-commits
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:/

[PATCH] D75760: [clang-format] Do not indent C# array initialisers as continuations

2020-03-23 Thread Jonathan B Coe via Phabricator via cfe-commits
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:

[PATCH] D75760: [clang-format] Do not indent C# array initialisers as continuations

2020-03-23 Thread Krasimir Georgiev via Phabricator via cfe-commits
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 ___

[PATCH] D75760: [clang-format] Do not indent C# array initialisers as continuations

2020-03-13 Thread Jonathan B Coe via Phabricator via cfe-commits
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

[PATCH] D75760: [clang-format] Do not indent C# array initialisers as continuations

2020-03-09 Thread Krasimir Georgiev via Phabricator via cfe-commits
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

[PATCH] D75760: [clang-format] Do not indent C# array initialisers as continuations

2020-03-06 Thread Jonathan B Coe via Phabricator via cfe-commits
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 '=

[PATCH] D75760: [clang-format] Do not indent C# array initialisers as continuations

2020-03-06 Thread Jonathan B Coe via Phabricator via cfe-commits
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 __