[PATCH] D29626: [clang-format] Break before a sequence of line comments aligned with the next line.

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 8 00:08:35 PST 2017


krasimir marked an inline comment as done.
krasimir added inline comments.


================
Comment at: lib/Format/UnwrappedLineParser.h:121-123
+  // Comments specifies the sequence of comment tokens to analyze. They get
+  // either pushed to the current line or added to the comments before the next
+  // token.
----------------
klimek wrote:
> Given this, I'd perhaps call this addSection or addCommentSection or something similar? analyze sounds like it doesn't change the state of the class...
Maybe distributeCommentsAccordingToAlignment?


https://reviews.llvm.org/D29626





More information about the cfe-commits mailing list