Search before asking
Description
The latest version of clangd (14.0.0) has a feature to detect unused includes. We can optimize includes by using it.
Solution
Add the config file .clangd and turn on diagnostics.
Are you willing to submit PR?
Code of Conduct