[PATCH] D101020: clang-format: [JS] do not merge side-effect imports.

2021-04-22 Thread Martin Probst via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGfbc6f42dbee5: clang-format: [JS] do not merge side-effect imports. (authored by mprobst). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST

[PATCH] D101020: clang-format: [JS] do not merge side-effect imports.

2021-04-21 Thread Martin Probst via Phabricator via cfe-commits
mprobst created this revision. mprobst added reviewers: krasimir, h-joo. mprobst requested review of this revision. Herald added a project: clang. The if condition was testing the current element, but forgot to check the previous element (doh), so it would fail depending on sort order of the impor