================
@@ -1533,9 +1533,11 @@ class OptimizingLineFormatter : public LineFormatter {
 
     StateNode *Node = new (Allocator.Allocate())
         StateNode(PreviousNode->State, NewLine, PreviousNode);
-    if (!formatChildren(Node->State, NewLine, /*DryRun=*/true, Penalty))
+    unsigned ChildrenPenalty = 0;
----------------
yashaggarwal85d wrote:

I made the penalties uint64_t all through UnwrappedLineFormatter.

https://github.com/llvm/llvm-project/pull/236087
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to