[all-commits] [llvm/llvm-project] 199fc9: [clang-format] Handle variable declarations in Bre...

Owen Pan via All-commits all-commits at lists.llvm.org
Fri Nov 10 13:26:10 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 199fc973ced20016b04ba540cf63a1d4914fa513
      https://github.com/llvm/llvm-project/commit/199fc973ced20016b04ba540cf63a1d4914fa513
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-11-10 (Fri, 10 Nov 2023)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Handle variable declarations in BreakAfterAttributes (#71935)

Also fixed a bug in `isStartOfName()` and cleaned up some old test
cases.

Fixed #71563.

This is a rework of #71755.




More information about the All-commits mailing list