-
Notifications
You must be signed in to change notification settings - Fork 29
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
feature request: whitelist for dpdusage #14
Comments
In the future, it would be nice to extract the white list from the source code. For instance, I would like to white list all |
Good idea. I am waiting for your PR then. Thanks. |
It seems that your last proposition (white list all |
I recently stumbled across this tool and I would like to second this feature request, in particular the whitelisting by keywords (i.e., |
OK. Maybe I should finish the old pull-request then (mainly add tests and resolve conflicts). |
It seems this issue has been dormant for a while. However, together with #63 it is what's currently keeping me from using |
Thanks for this very nice tool set!! Since I use Coq I have always been looking for a way to find unused definitions and lemmas.
My project has quite a few top-level theorems. They are reported by dpdusage, but I don't want to delete them. Moreover, I have a fair amount of technical lemmas that I want to keep, even though they are not used (currently). Because of this I am interested in a white-listing feature for dpdusage.
I am considering to open a PR that adds three things to dpdusage:
an option
-white-list <path>:<name>
an option
-white-list-file <file>
that reads a file of white-listed names in the same formatan option
-strict-white-list
that warns about a white-listed item with usage count above the thresholdWhat do you think?
The text was updated successfully, but these errors were encountered: