[PATCH] D118448: clang-format: [JS] fix uninitialized memory.

2022-01-28 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 rGc26729251588: clang-format: [JS] fix uninitialized memory. (authored by mprobst). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D118448: clang-format: [JS] fix uninitialized memory.

2022-01-28 Thread Martin Probst via Phabricator via cfe-commits
mprobst created this revision. mprobst added reviewers: jankuehle, krasimir. mprobst requested review of this revision. Herald added a project: clang. SortJavaScriptImports attempts to set its currently parsed token to an invalid token when it reaches the end of the line. However in doing so, it u