[all-commits] [llvm/llvm-project] 210e7b: [clang-format] Improve line-breaking in LambdaBody...

Jon Phillips via All-commits all-commits at lists.llvm.org
Fri Sep 8 14:34:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 210e7b3ca773c07c2a8c2fd8f471db5c6724f3bc
      https://github.com/llvm/llvm-project/commit/210e7b3ca773c07c2a8c2fd8f471db5c6724f3bc
  Author: Jon Phillips <jonap2811 at gmail.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

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

  Log Message:
  -----------
  [clang-format] Improve line-breaking in LambdaBodyIndentation: OuterScope

Avoid unnecessarily aggressive line-breaking when using
"LambdaBodyIndentation: OuterScope" with argument bin-packing.

Differential Revision: https://reviews.llvm.org/D148131




More information about the All-commits mailing list