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

Krzysztof Parzyszek via llvm-dev
Wed, 11 Jul 2018 13:20:08 -0000

On 7/11/2018 5:38 AM, Chandler Carruth via llvm-dev
wrote:
>
> I don't like having two different case conventions for variables.
> They're all variables, and I think they should be named using the same
> convention.

Really agree.

What about situations where a function is a parameter:
   template <typename Func> void fred(int Arg, Func Do) {...}
If we use lowercase names for the function parameters it is going to
look awful.

-Krzysztof

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation