<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 18, 2011, at 2:19 PM, Talin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="gmail_quote"><div><br class="Apple-interchange-newline">Yeah, I remember that conversation - I just didn't know that any action had been taken.</div><div><br></div><div>However, my other concern is this: According to the LLVM Coding Standards document (<a href="http://llvm.org/docs/CodingStandards.html#ll_naming">http://llvm.org/docs/CodingStandards.html#ll_naming</a>):</div><div><br></div></div><blockquote class="webkit-indent-blockquote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><div class="gmail_quote"><div><span class="Apple-style-span" style="font-family: Times; font-size: medium; "><b>Function names</b></span></div> should be verb phrases (as they represent actions), and command-like function should be imperative. The name should be camel case, and start with a lower case letter (e.g. <tt>openFile()</tt> or <tt>isFoo()</tt>).</div></blockquote><div class="gmail_quote"><div><font class="Apple-style-span" face="Times" size="3"><br></font></div><div>The coding standards say functions should begin with a lower case letter, but I see a lot of new code (not just DIBuilder) that uses method names that begin with an upper case letter. Is the document incorrect, or is there basically no enforcement? </div></div></span></blockquote><br></div><div>DIBuilder is older than the naming standards. Patches to improve DIBuilder's naming would definitely be appreciated.</div><div><br></div><div>-Chris</div></body></html>