[llvm-dev] RFC: should we spell lambdas like functions?

Rui Ueyama via llvm-dev
Thu, 05 Jul 2018 20:09:38 -0000

On Thu, Jul 5, 2018 at 12:57 PM Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:

> I argue we should spell C++ lambdas (and other function-like variables)
> like functions, not like variables.
>
> - Use verbs, not nouns.
>

I think I agree with this.


> - Use lowerCamelCase.
>

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.

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20180705/6fa1ed47/attachment.html>