[PATCH] D42684: clang-format: Allow optimizer to break template declaration.

Francois Ferrand via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 1 02:31:20 PST 2018


Typz updated this revision to Diff 132341.
Typz added a comment.

If the template declaration spans multiple lines, force wrap before the function/class declaration


Repository:
  rC Clang

https://reviews.llvm.org/D42684

Files:
  include/clang/Format/Format.h
  lib/Format/ContinuationIndenter.cpp
  lib/Format/Format.cpp
  lib/Format/TokenAnnotator.cpp
  unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42684.132341.patch
Type: text/x-patch
Size: 11738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180201/49f851b2/attachment.bin>


More information about the cfe-commits mailing list