[PATCH] D30532: Add examples to clang-format configuration
Daniel Jasper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 3 02:02:02 PST 2017
djasper added a comment.
Sure, then go ahead. If these examples would have helped you, that's one datapoint :).
As for presenting the difference in options, that would be useful I think. So if you are up to also doing that, that'd be appreciated.
For bool options it seems easiest to do something like:
true: x = ( int32 )y;
false: x = (int32)y;
(I'd try to keep this as compact as possible for now as the style page getting much longer also hurts discoverability)
https://reviews.llvm.org/D30532
More information about the cfe-commits
mailing list