================
@@ -471,6 +471,9 @@ AlignTokenSequence(const FormatStyle &Style, unsigned
Start, unsigned End,
Previous >= 0 &&
Changes[Previous].Tok->getType() == TT_PointerOrReference;
--Previous) {
+ // Don't align function default argument using return type maximum size
+ if (Changes[Previous + 1].Tok->is(tok::equal))
+ continue;
----------------
rayroudc wrote:
I pushed a new patch, to move the check out of the loop
https://github.com/llvm/llvm-project/pull/86254
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits