<div dir="ltr">Implemented in r181690. Sorry I missed your patch, but testing this was actually harder than it looks, and your patch missed one place where the indent width was used. Also, the implemented solution is aligned with our strategy to put all options into configuration files instead of creating loads of command line options.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 5, 2013 at 7:44 PM, Nitram Aw <span dir="ltr"><<a href="mailto:nitramaw@gmail.com" target="_blank">nitramaw@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Clang-format seems to be hard coded to use two space width indentation.<br><div class="gmail_quote"><div dir="ltr"><div>To make it useful to a broader audience I suggest getting rid of this limitation</div>
<div>
by letting it be part of the FormatStyle.</div><div><br></div><div>I added IndentationWidth to FormatStyle.</div><div>I used IndentationWidth instead of 2 the places that seem most important.</div><div>I added -iw as a switch to clang-format to override selected style.</div>

</div></div></div>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>