[PATCH] D16058: [clang-format] Fix comment aligning when there are changes within the comment

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 11 08:19:59 PST 2016


bkramer updated this revision to Diff 44513.
bkramer added a comment.

- Moved newline check into replaceWhitespaceInToken
- Removed duplicated TokenLength computation


http://reviews.llvm.org/D16058

Files:
  lib/Format/WhitespaceManager.cpp
  lib/Format/WhitespaceManager.h
  unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16058.44513.patch
Type: text/x-patch
Size: 6935 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160111/a194803c/attachment.bin>


More information about the cfe-commits mailing list