curdeius added inline comments.
================ Comment at: clang/lib/Format/WhitespaceManager.cpp:421 // matching token, the sequence ends here. - if (Changes[i].NewlinesBefore > 1 || !FoundMatchOnLine) + if (((Changes[i].NewlinesBefore > 1) && (!AcrossEmpty)) || + (!FoundMatchOnLine && (!(LineIsComment && AcrossComments)))) ---------------- Nit: unnecessary parentheses around !AcrossEmpty. Same around !(LineIsComment && AcrossComments). Maybe you might factor out a bool variable for this condition? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D93986/new/ https://reviews.llvm.org/D93986 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits