This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] keep TypeScript argument decorators in line
ClosedPublic

Authored by krasimir on Aug 24 2021, 2:23 AM.

Details

Summary

As a follow-up from https://reviews.llvm.org/D108538, ensure TypeScript
argument decorators are kept in line with the argument.

Diff Detail

Event Timeline

krasimir requested review of this revision.Aug 24 2021, 2:23 AM
krasimir created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2021, 2:23 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
krasimir added a project: Restricted Project.
This revision is now accepted and ready to land.Aug 24 2021, 2:47 AM
MyDeveloperDay added inline comments.Aug 24 2021, 2:48 AM
clang/lib/Format/ContinuationIndenter.cpp
502

is it only ever "get"?

krasimir updated this revision to Diff 368311.Aug 24 2021, 3:04 AM
  • consider also functions and setters
krasimir marked an inline comment as done.Aug 24 2021, 3:05 AM
krasimir added inline comments.
clang/lib/Format/ContinuationIndenter.cpp
502

This should also apply to setters and functions; updated.

Thank you!

MyDeveloperDay accepted this revision.Aug 24 2021, 3:19 AM
krasimir marked an inline comment as done.Aug 24 2021, 3:20 AM
This revision was landed with ongoing or failed builds.Aug 24 2021, 3:38 AM
This revision was automatically updated to reflect the committed changes.