<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></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 7, 2018, at 8:15 AM, Chris Lattner <<a href="mailto:clattner@nondot.org" class="">clattner@nondot.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jul 5, 2018, at 12:57 PM, Duncan P. N. Exon Smith 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=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">I argue we should spell C++ lambdas (and other function-like variables) like functions, not like variables.<br class=""><br class=""><div class="">- Use verbs, not nouns.<br class=""></div><div class="">- Use lowerCamelCase.<br class=""></div><div class=""><br class=""></div><div class="">Here's a patch that implements the change to the coding standards:</div><div class=""><a href="https://reviews.llvm.org/D48991" class="">https://reviews.llvm.org/D48991</a></div></div></div></div></blockquote><br class=""></div><div class="">Makes sense to me, I think that all callable values could be named in the same approach, including function references and std::functions?  Function pointers are not callable (you need to dereference them) so it is arguable that they should be capitalized.  It would be nice to include some rationale of why you’re picking one thing or another in coding standard paragraph.</div></div></div></blockquote><br class=""></div><div>Err, yeah, of course function pointers are callable.  I meant to say C++ member pointers :)</div><div><br class=""></div><div>-Chris</div><br class=""></body></html>