Skip to content

Enable unused variable/constant and statements removing #31

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

Closed
mikhailmoiseev opened this issue May 26, 2022 · 1 comment
Closed

Enable unused variable/constant and statements removing #31

mikhailmoiseev opened this issue May 26, 2022 · 1 comment
Milestone

Comments

@mikhailmoiseev
Copy link
Contributor

No description provided.

@mikhailmoiseev
Copy link
Contributor Author

Start with checking requiredVars, why it is not used in serializeProcSingle?

Implemented with useVarStmts/defVarStmts in ScTraverseConst and writeToValue/readFromValue in ScParseExprValue.
Currently turned off with REMOVE_UNUSED_VAR_STMTS().

It needs to enable and add more tests, current tests: misc_unused_remove*.cpp.

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

1 participant