[clang] [clang-format] allow short function body on a single line (PR #151428)

Lidong Yan via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 11 07:26:45 PDT 2025


================
@@ -242,13 +242,13 @@ class LineJoiner {
     if (Style.ColumnLimit > 0 && Indent > Style.ColumnLimit)
       return 0;
 
-    unsigned Limit =
+    unsigned LimitStripIndent =
----------------
brandb97 wrote:

Of course, will update soon.

https://github.com/llvm/llvm-project/pull/151428


More information about the cfe-commits mailing list