[PATCH] D135356: [Format] Fix crash when hitting eof while lexing JS template string
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 6 09:41:56 PDT 2022
sammccall added a comment.
Fixed by 4b53c00173163774d32125fbcae283a46a9a4b19 <https://reviews.llvm.org/rG4b53c00173163774d32125fbcae283a46a9a4b19> I think.
(@kadircet suggested a possible second crash, I couldn't get it to crash so included the testcase with this patch. Turns out it does crash...)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135356/new/
https://reviews.llvm.org/D135356
More information about the cfe-commits
mailing list