Skip to content

Does clippy provide symbol analysis (via API or tools)? #8682

Answered by flip1995
JamesBear asked this question in Q&A
Discussion options

You must be logged in to vote

Not via Clippy. But you can write your own compiler driver to do that. Have a look at the RunCompiler interface. You can register callbacks, like a list of lints that should run. in those lints you can collect that information and then output it at the end.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JamesBear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants