<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 5, 2018 at 5:30 PM, Adrian Prantl via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
<br>
> On Jul 5, 2018, at 1:09 PM, Rui Ueyama via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
> <br>
>> On Thu, Jul 5, 2018 at 12:57 PM Duncan P. N. Exon Smith <<a href="mailto:dexonsmith@apple.com">dexonsmith@apple.com</a>> wrote:<br>
>> I argue we should spell C++ lambdas (and other function-like variables) like functions, not like variables.<br>
>> <br>
>> - Use verbs, not nouns.<br>
> <br>
> I think I agree with this.<br>
>  <br>
>> - Use lowerCamelCase.<br>
> <br>
> In lld we use UpperCamelCase, as they are technically not function names but variable names. Using lowerCamelCase for function pointers feels really weird to me, as they are really variables than functions to me.<br>
<br>
</div></div>I also agree that this is weird either way because they are variables when declared and passed around and functions when invoked.<br></blockquote><div><br></div><div>How is this different to function pointers in traditional C?</div><div> </div></div></div></div>