Skip to content

[cpp] insufficient indentation when declaring lambda with name and { on separate lines #289

@takamori

Description

@takamori

Pressing enter after the { results in indentation of 2 spaces rather than 6.

auto long_function_name_requires_new_line_______________________________ =
    []() {
      int x = 1;
      int y = 2;
    };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions