[all-commits] [llvm/llvm-project] cb479e: [clang-format] More on unbreakable strings in Type...

sstwcw via All-commits all-commits at lists.llvm.org
Thu Sep 14 05:43:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb479e7d7d6e70748ebeef3b930d7911dc9e4276
      https://github.com/llvm/llvm-project/commit/cb479e7d7d6e70748ebeef3b930d7911dc9e4276
  Author: sstwcw <su3e8a96kzlver at posteo.net>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/unittests/Format/FormatTestJS.cpp

  Log Message:
  -----------
  [clang-format] More on unbreakable strings in TypeScript (#66321)

Now. string literals in lines beginning with `export type` will not be
broken.

The case was missed in 5db201fb75e6.  I don't know TypeScript.  And
merging GitHub pull requests seems to be a little too easy.  So it got
committed before the reviewers had a chance to find edge cases.




More information about the All-commits mailing list