[PATCH] D29291: [clang-format] Separate line comment sections after a right brace from comment sections in the scope.
Daniel Jasper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 30 11:16:09 PST 2017
djasper accepted this revision.
djasper added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lib/Format/UnwrappedLineParser.cpp:2095
+ const FormatToken *MinColumnToken = Line.Tokens.front().Tok;
+ {
+ // Scan for '{//'. If found, use the column of '{' as a min column for line
----------------
Just remove this. It leaks PreviousToken, but that's ok.
https://reviews.llvm.org/D29291
More information about the cfe-commits
mailing list