[LLVMdev] RFC: variable names

Chandler Carruth chandlerc at google.com
Mon Oct 13 20:07:51 PDT 2014

On Mon, Oct 13, 2014 at 8:07 PM, Xinliang David Li <xinliangli at gmail.com>

> For lambdas, you have more contexts to confuse yourself, so why would a
> discriminator like '_' not be helpful here?

Because you cannot attach such a discriminator to the members of the lambda
struct. Their names are automatically selected based on capture.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141013/028b0ea2/attachment.html>

More information about the llvm-dev mailing list