[PATCH] D116374: [clang-format] Add penalty for breaking after '('

G Pery via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 29 06:43:07 PST 2021


GPery created this revision.
GPery requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Resorted and added tests, thanks for the comments <3


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116374

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116374.396525.patch
Type: text/x-patch
Size: 6581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211229/cd5d4390/attachment.bin>


More information about the cfe-commits mailing list