[clang-tools-extra] [clang-doc]: Enable horizontal wrapping on longer function definitions (PR #181417)
Erick Velez via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 13 14:26:11 PST 2026
evelez7 wrote:
This wrapping seems very aggressive. It begins wrapping with the very first param. I'd expect the wrapping to begin after a certain length, like at length 80 in text editors. I was also thinking this would be an HTML only solution like wrapping if something is outside the viewport, though admittedly I'm not sure if that's possible.
For instance, when you format something really long in clang-format, it wraps like this:
```
double func(double foo,
double bar, double fizz, double buzz)
```
It is a design preference though.
https://github.com/llvm/llvm-project/pull/181417
More information about the cfe-commits
mailing list