HomePhabricator

[clang-format] Allow a comment to follow a C# attribute specifier

Authored by Jonathan Coe <jbcoe@google.com> on Feb 4 2020, 10:26 AM.

Description

[clang-format] Allow a comment to follow a C# attribute specifier

Summary: Add comments to the list of tokens that can follow the ']' at the end of a C# attribute specifier to prevent comments after attribute specifiers from being formatted as continuations.

Reviewers: MyDeveloperDay, krasimir

Reviewed By: MyDeveloperDay

Tags: #clang-format

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

Event Timeline

Jonathan Coe <jbcoe@google.com> committed rG50d8977c459d: [clang-format] Allow a comment to follow a C# attribute specifier (authored by Jonathan Coe <jbcoe@google.com>).Feb 4 2020, 11:00 AM