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

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 28 11:43:56 PST 2021


HazardyKnusperkeks added inline comments.


================
Comment at: clang/include/clang/Format/Format.h:2900
+  /// \version 14
+  unsigned PenaltyBreakOpenParenthesis;
+
----------------
Please resort.


================
Comment at: clang/lib/Format/Format.cpp:1238
   LLVMStyle.PenaltyBreakTemplateDeclaration = prec::Relational;
+  LLVMStyle.PenaltyBreakOpenParenthesis = 0;
   LLVMStyle.PenaltyIndentedWhitespace = 0;
----------------
O before T, please resort.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116170



More information about the cfe-commits mailing list