[PATCH] D53072: [clang-format] Introduce the flag which allows not to shrink lines
Ivan Donchevskii via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 10 04:35:51 PDT 2018
yvvan created this revision.
yvvan added reviewers: klimek, djasper, krasimir.
Currently there's no way to prevent to lines optimization even if you have intentionally put <CR> to split the line.
In general case it's fine. So I would prefer to have such option which you can enable in special cases (for me it's an IDE related use case).
https://reviews.llvm.org/D53072
Files:
include/clang/Format/Format.h
lib/Format/Format.cpp
lib/Format/UnwrappedLineFormatter.cpp
unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53072.168980.patch
Type: text/x-patch
Size: 4617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181010/da690671/attachment.bin>
More information about the cfe-commits
mailing list