-
Notifications
You must be signed in to change notification settings - Fork 25
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
Do you handle access specifier? #50
Comments
Thank you for the report. |
Interesting this is a transformation that I quite often have to do manually and is at least in our code basis (declaring non-pod types as class as described in the google style guide) a pretty common occurrence. It is true that the token reduction step will remove those tokens eventually, but only if it has no "effect" on the "visibility". If a I also have some other common problems with C++20 and concepts where cvise is stuck at some point. But, if those things are only minor enhancement, I'm not sure if you are interested in them. I just wanted to let you know, that it would help me greatly if those steps would be automatic, too. As I pretty regularly use cvise :) |
All right, I can take a look at what can be done. I would appreciate an example of an interestingness test and a test-case for it.
I'm definitely interested in these issues. Please show me some examples where it's stuck.
Appreciate that, I'm happy for daily users of the tool! |
I see in reductions that code like
will often be collapsed to
The problem is that the statement1 line could be removed, but will trigger a build error because statement2 isn't accessible any more.
I would expect that all access specifier will be removed at a pretty early stage as they most often shouldn't matter.
That means
class
should be replaced bystruct
and any access specifier should be removed from a class.The text was updated successfully, but these errors were encountered: