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

Sourcetrail does not index the deduced type of "auto" #8

Closed
petermost opened this issue May 16, 2024 · 4 comments
Closed

Sourcetrail does not index the deduced type of "auto" #8

petermost opened this issue May 16, 2024 · 4 comments
Assignees

Comments

@petermost
Copy link
Owner

petermost commented May 16, 2024

The original issue feature request: expand C++ "auto" type doesn't go into details what is wanted here, but from own experience it seems indexing handles all auto types as a single type. It would be much more helpful to index the deduced type. For other usages of auto:

  1. auto placeholder type specifier
  2. Function declaration with trailing return type
  3. Structured binding declaration
  4. Abbreviated function template
  5. Explicit cast to a prvalue copy

see this issue: #10

@bam80: Is this what you had in mind?

@petermost petermost self-assigned this May 16, 2024
@bam80
Copy link

bam80 commented May 16, 2024

Sorry I don't remember.
Are you going to resurrect Sourcetrail? That would be awesome.

I'm interested in the story behind that.

@petermost
Copy link
Owner Author

petermost commented May 16, 2024

Are you going to resurrect Sourcetrail? That would be awesome.

Well, look at the commits and judge for yourself 😉

I'm interested in the story behind that.

Not much to tell. I was a costumer for the commercial product and used and use it very successfully in my freelancer projects. After the Coati company decided to stop working on it, I thought maybe somebody else will continue it, but that didn't happen. Because this is the tool I basically was waiting for years (and I currently have the time), I decided to give it a try.

@bam80
Copy link

bam80 commented May 17, 2024

Great, I wish you good luck!

@petermost
Copy link
Owner Author

Added indexing of the deduced type of auto variables with 6e6d3a2

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

No branches or pull requests

2 participants