[all-commits] [llvm/llvm-project] e3acfb: [clang-format] Stop aligning the to continuation l...

sstwcw via All-commits all-commits at lists.llvm.org
Sun Jan 14 19:04:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3acfbc471ac74425c2a4b54546b322b42c4cf00
      https://github.com/llvm/llvm-project/commit/e3acfbc471ac74425c2a4b54546b322b42c4cf00
  Author: sstwcw <su3e8a96kzlver at posteo.net>
  Date:   2024-01-15 (Mon, 15 Jan 2024)

  Changed paths:
    M clang/lib/Format/UnwrappedLineFormatter.cpp
    M clang/unittests/Format/FormatTestCSharp.cpp
    M clang/unittests/Format/FormatTestVerilog.cpp

  Log Message:
  -----------
  [clang-format] Stop aligning the to continuation lines (#76378)

Some unwrapped lines are marked as continuations of the previous lines,
for example the ports in a Verilog module header. Previously, if the
first line following the ports line was changed, and git-clang-format
was run, the changed line would be indented by an extra continuation
indentation.




More information about the All-commits mailing list