[PATCH] D29322: [clang-format] Fix regression merging comments across newlines.
Manuel Klimek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 31 02:45:03 PST 2017
klimek 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
----------------
Could we put them as children into the higher level UnwrappedLine instead?
https://reviews.llvm.org/D29322
More information about the cfe-commits
mailing list