<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 27, 2013 at 11:23 AM, Michael Hoye <span dir="ltr"><<a href="mailto:mhoye@mozilla.com" target="_blank">mhoye@mozilla.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi, everyone.<br>
<br>
I'd like to know if there is anything in the works to let clang-format provide guidance about naming conventions (camelcase, first-letter-capitalized, etc) in code, and if not (and if it's considered in-scope for clang-format) if a patch to provide that guidance would be interesting.<br>
</blockquote><div><br></div><div style>That's generally considered out of scope for clang-format. The goal of clang-format is only to format code - whitespace changes only. It's the precursor necessary to build other tools on top of, though - since anything that would change identifiers, add/remove braces, etc, would need a formatter to fix up lines that might've changed length in the process, etc.<br>
<br>The intention is to make a tool called clang-tidy that would actually fix code to conform to naming conventions (& then reformat the result), etc, rather than simply report them to the user & expect the user to manually fix them.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I couldn't find an answer in the list-archives; thanks for your time.</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
- mhoye<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div></div>