[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 07:39:00 PST 2016


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

- Renamed flag to IsInsideToken and enabled it for all in-token replacements.
- TokenLength now gets updated to contain all changes on the same line if they're in the same token.


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.44508.patch
Type: text/x-patch
Size: 6991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160111/7efa2a09/attachment.bin>


More information about the cfe-commits mailing list