[all-commits] [llvm/llvm-project] 9da70a: [clang-format] Break an unwrapped line at a K&R C ...

Owen via All-commits all-commits at lists.llvm.org
Mon Jul 19 13:35:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9da70ab3d43c79116f80fc06aa7cf517374ce42c
      https://github.com/llvm/llvm-project/commit/9da70ab3d43c79116f80fc06aa7cf517374ce42c
  Author: owenca <owenpiano at gmail.com>
  Date:   2021-07-19 (Mon, 19 Jul 2021)

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

  Log Message:
  -----------
  [clang-format] Break an unwrapped line at a K&R C parameter decl

Break an unwrapped line before the first parameter declaration in a
K&R C function definition.

This fixes PR51074.

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




More information about the All-commits mailing list