[PATCH] D27754: [clang-format] Implement comment reflowing (again).

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 20 02:52:42 PST 2016


krasimir updated this revision to Diff 82081.
krasimir added a comment.

- Put LastLineNeedsDecoration and Decoration and Prefix to the appropriate subclasses
- Fixed a double indentation bug caused by the WhitespaceManager.


https://reviews.llvm.org/D27754

Files:
  lib/Format/BreakableToken.cpp
  lib/Format/BreakableToken.h
  lib/Format/CMakeLists.txt
  lib/Format/Comments.cpp
  lib/Format/Comments.h
  lib/Format/ContinuationIndenter.cpp
  lib/Format/TokenAnnotator.cpp
  lib/Format/UnwrappedLineParser.cpp
  lib/Format/WhitespaceManager.cpp
  unittests/Format/FormatTest.cpp
  unittests/Format/FormatTestSelective.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27754.82081.patch
Type: text/x-patch
Size: 75324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161220/5503c2b4/attachment-0001.bin>


More information about the cfe-commits mailing list