[PATCH] Improve formatting of lambda functions.

Chandler Carruth chandlerc at google.com
Fri Jun 12 01:21:04 PDT 2015


int *f(); // no braces, irrelevant

int *f() { // space before the brace

auto f() { // space before the brace

auto f() -> int { // space before the brace

auto f() -> int * { // space before the brace

On Fri, Jun 12, 2015 at 1:16 AM Daniel Jasper <djasper at google.com> wrote:

> Ok. To be clear, I don't care strongly at all. If the two of you are
> convinced this is better, lets just put it in.
>
> How does this relate to "int *f();"? Do we simply not care about that
> consistency at this point as this is about spacing out braces?
>
>
> 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/83d20383/attachment.html>


More information about the cfe-commits mailing list