Clang-format seems to be hard coded to use two space width indentation. To make it useful to a broader audience I suggest getting rid of this limitation by letting it be part of the FormatStyle.
I added IndentationWidth to FormatStyle. I used IndentationWidth instead of 2 the places that seem most important. I added -iw as a switch to clang-format to override selected style.
IndentationWidth.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
