[PATCH] clang-format: Builder closing paren must be a call
Daniel Jasper
djasper at google.com
Mon May 4 06:24:19 PDT 2015
I am not sure this is the right direction. We have actually considered going the other way, i.e. do builder-type wrapping even after the first element, i.e.:
aaaaaaaa
.aaaaaa()
.bbbbbb();
There were some edge cases where I got stuck a bit, so I haven't proceeded. But engraining this more seems wrong. The given example seems wrong for other reasons, in particular, we should force wrapping the parameters/selectors if the callee spans multiple lines.
http://reviews.llvm.org/D9469
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list