[PATCH] D125171: Add a new clang-format option AlwaysBreakBeforeFunctionParameters

jonathan molinatto via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 22 16:14:17 PDT 2023


jrmolin updated this revision to Diff 507539.
jrmolin added a comment.

I updated the code comment in Format.h and ran the docs generator. I didn't modify the Macros section, but that got updated when I ran the docs generator.

We don't have a published style guide, unfortunately. I can work towards that, but I don't know how long that would take. My team doesn't like to agree on formatting changes. Hence this patch. We rolled this into the 3.9.0 release, and have been stuck with that ever since.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125171/new/

https://reviews.llvm.org/D125171

Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/include/clang/Format/Format.h
  clang/lib/Format/ContinuationIndenter.cpp
  clang/lib/Format/Format.cpp
  clang/lib/Format/TokenAnnotator.cpp
  clang/unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125171.507539.patch
Type: text/x-patch
Size: 8772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230322/d836bb1c/attachment-0001.bin>


More information about the cfe-commits mailing list