klimek added inline comments.
================
Comment at: lib/Format/BreakableToken.cpp:747
+ Split SplitBefore, WhitespaceManager &Whitespaces) {
+ // If this is the first line of a token, we need to inform Whitespace Manager
+ // about it: either adapt the whitespace range preceding it, or mark it as an
----------------
What do you mean by "first line of a token"?
================
Comment at: lib/Format/BreakableToken.h:110-111
+
+ /// \brief Returns a whitespace range (offset, length) of the content at \p
+ /// LineIndex such that the content preceding this range needs to be
+ /// reformatted before any breaks are made to this line.
----------------
I'd keep \p and LineIndex in the same line...
https://reviews.llvm.org/D28764
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits