This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by jbcoe on Feb 4 2020, 9:58 AM.

Details

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.

Diff Detail

Event Timeline

jbcoe created this revision.Feb 4 2020, 9:58 AM
MyDeveloperDay accepted this revision.Feb 4 2020, 10:12 AM
This revision is now accepted and ready to land.Feb 4 2020, 10:12 AM

Nit: please give the revision a description

jbcoe edited the summary of this revision. (Show Details)Feb 4 2020, 10:21 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2020, 11:08 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript