This is an archive of the discontinued LLVM Phabricator instance.

clang-format: [JS] don't sort named imports if off.
ClosedPublic

Authored by mprobst on Jun 11 2021, 2:45 AM.

Details

Summary

The previous implementation would accidentally still sort the individual
named imports, even if the module reference was in a clang-format off
block.

Diff Detail

Event Timeline

mprobst requested review of this revision.Jun 11 2021, 2:45 AM
mprobst created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJun 11 2021, 2:45 AM
krasimir accepted this revision.Jun 11 2021, 2:56 AM
This revision is now accepted and ready to land.Jun 11 2021, 2:56 AM
This revision was landed with ongoing or failed builds.Jun 11 2021, 3:03 AM
This revision was automatically updated to reflect the committed changes.