[all-commits] [llvm/llvm-project] 5db201: [clang-format] Stop breaking unbreakable strings i...
sstwcw via All-commits
all-commits at lists.llvm.org
Wed Sep 13 08:04:18 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5db201fb75e6d1e2777bff8bc8df012174e905f3
https://github.com/llvm/llvm-project/commit/5db201fb75e6d1e2777bff8bc8df012174e905f3
Author: sstwcw <134215812+sstwcw at users.noreply.github.com>
Date: 2023-09-13 (Wed, 13 Sep 2023)
Changed paths:
M clang/lib/Format/ContinuationIndenter.cpp
M clang/unittests/Format/FormatTestJS.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Stop breaking unbreakable strings in JS (#66168)
Dictionary literal keys and strings in TypeScript type declarations can
not be broken.
The problem was pointed out by @alexfh and @e-kud here:
https://reviews.llvm.org/D154093#4644512
More information about the All-commits
mailing list