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

Daniel Jasper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 20 02:29:39 PST 2018


djasper added a comment.

Please given an explanation of what you are trying to achieve with this change. Do you intend to set the penalty high so that clang-format does other things first before falling back to wrapping template declarations?

Why treat separate declarations differently wrt. wrapping the template declarations? Will this stop at classes vs. functions? I generally have doubts that this option carries it's weight. Do you have a style guide that explicitly tells you to do this?


Repository:
  rC Clang

https://reviews.llvm.org/D42684





More information about the cfe-commits mailing list