This is an archive of the discontinued LLVM Phabricator instance.

clang-format: [JS] terminate import sorting on `export type X = Y`
ClosedPublic

Authored by jankuehle on May 15 2023, 5:58 AM.

Details

Summary

https://reviews.llvm.org/D150116 introduced a bug. export type X = Y was considered an export declaration and took part in import sorting. This is not correct. With this change export type X = Y properly terminates import sorting.

Diff Detail

Event Timeline

jankuehle created this revision.May 15 2023, 5:58 AM
jankuehle requested review of this revision.May 15 2023, 5:58 AM
krasimir accepted this revision.May 15 2023, 6:00 AM
krasimir added a subscriber: krasimir.

Thank you!

This revision is now accepted and ready to land.May 15 2023, 6:00 AM
This revision was landed with ongoing or failed builds.May 15 2023, 6:38 AM
This revision was automatically updated to reflect the committed changes.