Skip to content

Type of capture is broken in body of lambda with explicit object parameter #163582

@xiaosa-zhz

Description

@xiaosa-zhz

https://godbolt.org/z/W9aW4Gvfo
https://godbolt.org/z/Yd9qanx55

Replacing explicit object parameter with normal parameter list can be correctly rejected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepts-invalidclang:frontendLanguage frontend issues, e.g. anything involving "Sema"confirmedVerified by a second partylambdaC++11 lambda expressions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions