[PATCH] D35794: [clang-format] Fix comment levels between '} else {' and PPDirective.

Manuel Klimek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 24 07:43:18 PDT 2017


klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.

lg



================
Comment at: lib/Format/UnwrappedLineParser.h:126
   bool eof() const;
-  void nextToken();
+  // LevelDifference is the difference of levels after and before this token.
+  // For example:
----------------
s/this token/the current token/
"This token" can be interpreted as the one nextToken reads otherwise.


https://reviews.llvm.org/D35794





More information about the cfe-commits mailing list