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

Gedare Bloom via cfe-commits cfe-commits at lists.llvm.org
Fri May 31 14:12:03 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) &&
----------------
gedare wrote:

yes, it is part of the problems reported in #55731 

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


More information about the cfe-commits mailing list