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

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 11 06:20:08 PDT 2018


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


More information about the llvm-dev mailing list