Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncrustify and Lambdas #7

Open
manpen opened this issue Jan 15, 2018 · 2 comments
Open

Uncrustify and Lambdas #7

manpen opened this issue Jan 15, 2018 · 2 comments

Comments

@manpen
Copy link
Member

manpen commented Jan 15, 2018

The indention configured in uncrustify makes usage of lambdas (especially as function parameters) impractical.

auto local_queue_at_max_size = [&]() {
                                   return foo;
                               };

Where the following solution would be much better

auto local_queue_at_max_size = [&]() {
    return foo;
};
@lorenzhs
Copy link

Yes this behaviour is extremely aggravating. @bingmann plz fix in Thrill, too.

@bingmann
Copy link
Member

Plz fix in uncrustify.

manpen added a commit that referenced this issue Feb 3, 2018
manpen added a commit that referenced this issue Feb 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants