[PATCH] D31408: Add more examples to clang-format configuration
Sylvestre Ledru via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 3 22:54:32 PDT 2017
sylvestre.ledru added inline comments.
================
Comment at: docs/ClangFormatStyleOptions.rst:941
+ ContinuationIndentWidth: 2
+ ColumnLimit: 15
+
----------------
djasper wrote:
> You could force line wraps with tailing //-comments instead.
much better. thanks
================
Comment at: docs/ClangFormatStyleOptions.rst:978
+ original: vs. true:
+ int *foo = 2; int *foo = 2;
+ int &j = i; int &j = i;
----------------
djasper wrote:
> I think this example is very confusing. Possibly for this option, it doesn't really makes sense to give examples. Or don't have a before/after but instead have two examples where clang-format determines different pointer alignment?
right, removed.
I updated the wording of the desc
https://reviews.llvm.org/D31408
More information about the cfe-commits
mailing list