krasimir marked an inline comment as done. krasimir added inline comments.
================ Comment at: lib/Format/BreakableToken.cpp:685 LineTok = CurrentTok->Next; + if (CurrentTok->Next && CurrentTok->Next->NewlinesBefore > 1) { + // A line comment section needs to broken by a line comment that is ---------------- krasimir wrote: > klimek wrote: > > Could we put them as children into the higher level UnwrappedLine instead? > Putting them as children looks cleaner; will try that. For now, I'm adding a FIXME, since this putting the sections into children has some undesired ripple effects in other places and needs more in-depth analysis. https://reviews.llvm.org/D29322 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits