<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jul. 5, 2018, at 18:12, Bruce Hoult via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div class="gmail_extra"><br class="Apple-interchange-newline"><br class=""><div class="gmail_quote">On Thu, Jul 5, 2018 at 5:30 PM, Adrian Prantl via llvm-dev<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div class="HOEnZb"><div class="h5"><br class=""><br class="">> On Jul 5, 2018, at 1:09 PM, Rui Ueyama via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class="">><span class="Apple-converted-space"> </span><br class="">>> On Thu, Jul 5, 2018 at 12:57 PM Duncan P. N. Exon Smith <<a href="mailto:dexonsmith@apple.com" class="">dexonsmith@apple.com</a>> wrote:<br class="">>> I argue we should spell C++ lambdas (and other function-like variables) like functions, not like variables.<br class="">>><span class="Apple-converted-space"> </span><br class="">>> - Use verbs, not nouns.<br class="">><span class="Apple-converted-space"> </span><br class="">> I think I agree with this.<br class="">> <span class="Apple-converted-space"> </span><br class="">>> - Use lowerCamelCase.<br class="">><span class="Apple-converted-space"> </span><br class="">> 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 class=""><br class=""></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 class=""></blockquote><div class=""><br class=""></div><div class="">How is this different to function pointers in traditional C?</div><div class=""> </div></div></div></div></div></blockquote><br class=""></div><div>It's not different. The patch proposes to spell C++ lambdas *and other function-like variables* like functions. Essentially, anything that's callable.</div></body></html>