This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] break after the closing paren of a TypeScript decoration
ClosedPublic

Authored by krasimir on Aug 23 2021, 3:39 AM.

Details

Summary

This fixes up a regression we found from
https://reviews.llvm.org/D107267: in specific contexts, clang-format
stopped breaking after the ) in TypeScript decorations. There were no test cases covering this, so I added one.

Diff Detail

Event Timeline

krasimir requested review of this revision.Aug 23 2021, 3:39 AM
krasimir created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 23 2021, 3:39 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
krasimir edited the summary of this revision. (Show Details)Aug 23 2021, 3:40 AM
krasimir added a reviewer: MyDeveloperDay.
krasimir added a project: Restricted Project.
krasimir edited the summary of this revision. (Show Details)Aug 23 2021, 3:43 AM
MyDeveloperDay accepted this revision.Aug 23 2021, 4:35 AM

LGTM, Thanks for picking these up

This revision is now accepted and ready to land.Aug 23 2021, 4:35 AM