HomePhabricator

[clang-format] Correct indentation for `[key] = value,` entries in C# object…

Authored by Jonathan Coe <jbcoe@google.com> on Mar 10 2020, 2:33 AM.

Description

[clang-format] Correct indentation for [key] = value, entries in C# object initialisers

Restores content of commit cb3f20d27c9e91cb9f997f0401f388e62c4ba993
reverted in commit 5a101f377315c0c0c58e8df842fe5eb5d8c7611d
with a corrected commit message.

Summary: Do not use continuation indent for '[' in blocks in C# code.

Reviewers: krasimir

Reviewed By: krasimir

Subscribers: cfe-commits

Tags: #clang-format, #clang

Differential Revision: https://reviews.llvm.org/D75747

Event Timeline

Jonathan Coe <jbcoe@google.com> committed rG0c28a0938c55: [clang-format] Correct indentation for `[key] = value,` entries in C# object… (authored by Jonathan Coe <jbcoe@google.com>).Mar 10 2020, 2:36 AM