[PATCH] D53072: [clang-format] Introduce the flag which allows not to shrink lines

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 29 12:00:20 PST 2018


krasimir added a comment.

In D53072#1268883 <https://reviews.llvm.org/D53072#1268883>, @yvvan wrote:

> Do you know the better way to accomplish my aim than adding an option to libFormat? For example making a dependent library which serves a little different purpose than libFormat itself or something simpler?


I don't know about the specific use-case, but in general a fail-safe way to force a line break in C++ code is to add an empty line comment on the preceding line.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D53072/new/

https://reviews.llvm.org/D53072





More information about the cfe-commits mailing list