-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
implicit cast after explicit cast #223
Comments
Hello @viboes, my pleasure! Thank for reporting this, tt is not the first time that came up (#134). If you look at the AST you can see, that there is a That means, what's currently show is correct in terms that it is in the AST. However, it confuses people. I can try to filter the What do you think? Andreas |
Hi, I believe the fisrt thing could be to have a list of know limitations on the documentation so that we can avoid maybe creating a new github issue and woud explain what is going on. I would need to take a look at the AST. I was wondering if this couldn't be an option for the tool to get alternatively th eAST so that the student makes the relations between the transformation and the AST. I'll create a enhancement issue. Up to the active community to address this feature. I agree that the resut is correct, it is just confusing. Having the option -show-all-implicit-casts could help to identify maybe which implicit feature is behind th escenes. Wondering if having an option for every transformation could be possible and if at all wouldn't it improve the tool. |
Hello @viboes, in the meantime I found out about However, I agree that a list with known limitation is a good idea. During each release a documentation is generated with doxygen and hosted here https://docs.cppinsights.io. My favorite approach would be to add a couple of markdown files in the
That sounds very hard to me, depending on how close they should link together. Plus the main idea of C++ Insights is to show C++ code. Do you think that the AST is something a majority is interested in? Andreas |
How can I verify that this has been fixed. I was opening again the link and I git the same duplicated output . |
For the AST we have clang-check which output the AST, isn't it. The idea was to switch between th etransformation and the AST. |
Hello @viboes, the initial link you attached here has "show all implicit casts" enabled. With that it looks like before. Turn it of and you will see the difference and with that the fix. Here is a version with it turned of: https://cppinsights.io/s/1f7ea4cc.
As this issue is closed, may be open another one for this. I'm not sure I do understand what you have in mind. Andreas |
Ok, I missed the flag. |
Firts of all, thanks for working on this awesone tool.
Hopping I could be able to submit patches in a no so far future
As for https://cppinsights.io/s/b16e6b9b there is an erroneous implicit conversion added after an explicit one.
after
The text was updated successfully, but these errors were encountered: