Skip to content

report modernize-use-trailing-return-type for lambdas #95711

@firewave

Description

@firewave
void f()
{
    auto f = []() /*-> bool*/ {
        return false;
    };
}

Currently no warning is generated for the code above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang-tidyenhancementImproving things as opposed to bug fixing, e.g. new or missing feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions