Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

C++ implicit members should be implicit #6088

Open
zrlk opened this issue Mar 27, 2024 · 2 comments
Open

C++ implicit members should be implicit #6088

zrlk opened this issue Mar 27, 2024 · 2 comments
Assignees
Labels
C++ Issues affecting C++

Comments

@zrlk
Copy link
Contributor

zrlk commented Mar 27, 2024

Right now we index (approximately; these members don't get created unless used):

//- @Foo defines/binding ClassFoo
//- @Foo defines/binding CtorFoo
class Foo {
};

CtorFoo is an otherwise regular looking function node that shares the anchor location @Foo. It should probably be marked as implicit.

@zrlk zrlk added the C++ Issues affecting C++ label Mar 27, 2024
@zrlk zrlk self-assigned this Mar 27, 2024
@shahms
Copy link
Contributor

shahms commented Mar 27, 2024

defines/binding/implicit ?

@zrlk
Copy link
Contributor Author

zrlk commented Mar 27, 2024

We have defines/implicit, and that's documented to work for the implicit destructor (!), but isn't being used for this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ Issues affecting C++
Projects
None yet
Development

No branches or pull requests

2 participants