Skip to content

[clangd] In the body of a function with an explicit object parameter, code completion suggests members without accessing them through the object parameter #141291

Open
@olemayu

Description

@olemayu

None of the clangd display hints and auto-completions work with deduced this.

Example: CurrentValue suggested even though it cant be used without Self.
Image

Member function calls display the overlay with Self, thus shoving the actual relevant arguments that are being filled.

Example: Self shown even though the Value is the one being filled.
Image

tested on clangd version: 21.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions