Skip to content

Arrow operator exposes methods available by value #207

Closed
@Yanpas

Description

@Yanpas

There is smart dot operator handling in ccls which lets you call methods of smart pointer targets. But if you use arrow operator you see smart pointer methods in the first place for some reason.

image

struct A {
    void m1();
};

struct B : private A {
    void m2();
};

void foo () {
    std::unique_ptr<A> ap;
    ap->

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions