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

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 29 06:59:23 PST 2021


MyDeveloperDay added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:18519
+  Style.PenaltyExcessCharacter = 15;
+  EXPECT_EQ("int foo(\n"
+            "    int aaaaaaaaaaaaaaaaaaaaaaaa);",
----------------
any reason you are not using verifyFormat here?


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