[PATCH] D30697: [clang-format] Enable comment reflowing in multiline comments containing pragmas

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 7 08:22:19 PST 2017


krasimir created this revision.
Herald added a subscriber: klimek.

This patch enables comment reflowing of lines not matching the comment pragma regex
in multiline comments containing comment pragma lines. Previously, these comments
were dumped without being reindented to the result.


https://reviews.llvm.org/D30697

Files:
  lib/Format/BreakableToken.cpp
  lib/Format/BreakableToken.h
  lib/Format/ContinuationIndenter.cpp
  unittests/Format/FormatTestJS.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30697.90856.patch
Type: text/x-patch
Size: 5916 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170307/0bb7fe88/attachment.bin>


More information about the cfe-commits mailing list