[clang] [clang-format] Improve BlockIndent at ColumnLimit (PR #93140)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Mon May 27 12:33:31 PDT 2024


================
@@ -6157,6 +6157,12 @@ bool TokenAnnotator::canBreakBefore(const AnnotatedLine &Line,
     return !(Previous && (Previous->is(tok::kw_for) || Previous->isIf()));
   }
 
+  if (Left.isOneOf(tok::r_paren, TT_TrailingAnnotation) &&
----------------
HazardyKnusperkeks wrote:

Is this related?

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


More information about the cfe-commits mailing list