Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Missing DEFINES edge for templated methods #880

Open
peckto opened this issue Aug 18, 2022 · 0 comments
Open

Missing DEFINES edge for templated methods #880

peckto opened this issue Aug 18, 2022 · 0 comments
Assignees
Labels
cxx Related to C/C++ language parsing

Comments

@peckto
Copy link
Collaborator

peckto commented Aug 18, 2022

For templated methods, the definition is not connected to the declaration.
This might also have side effects to the CallResolver when resolving calls to such methods.

Example:

template <class T>
struct B {
    void foo();
};

template <class T>
void B<T>::foo() {
}

struct A {
    void foo();
};

void A::foo() {

}

image

@peckto peckto added the cxx Related to C/C++ language parsing label Aug 18, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
cxx Related to C/C++ language parsing
Projects
None yet
Development

No branches or pull requests

1 participant