[PATCH] D16058: [clang-format] Fix comment aligning when there are changes within the comment
Daniel Jasper via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 11 05:17:30 PST 2016
djasper added inline comments.
Comment at: lib/Format/WhitespaceManager.h:145
@@ +144,3 @@
+ // comment.
+ bool IsTrailingCommentContinuation;
> djasper wrote:
> > I find the term "continuation" a bit confusing here. How about something like "IsInsideToken"?
> "Token" sounds like it could be true for things outside comments. Perhaps "InComment"?
So why not store the more generic information here? We already have the extra information whether this is a line comment or not stored in the token kind.
More information about the cfe-commits