[PATCH] Improve formatting of lambda functions.
Chandler Carruth
chandlerc at google.com
Fri Jun 12 01:10:01 PDT 2015
In all of these cases, the cause of the spacing is not the {. We put spaces
on both sides of a multiply, or after a comma.
The debug thing is (IMO) a bad example in every way. It's a macro, the
contents are a block, and yuck.
On Fri, Jun 12, 2015 at 1:00 AM Daniel Jasper <djasper at google.com> wrote:
> Those examples are very selective, though:
>
> someFunction(a, {1, 2, 3});
> Debug({ llvm::errs() << "abc\n"; });
> SomeIntType b = a * {7};
>
>
> http://reviews.llvm.org/D10410
>
> EMAIL PREFERENCES
> http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150612/f5274f02/attachment.html>
More information about the cfe-commits
mailing list