incubator-doris [Enhancement] [diagnostics] Use clangd to detect unused includes.

myss37ts  于 2022-04-22  发布在  Java
关注(0)|答案(0)|浏览(84)

Search before asking

  • I had searched in the issues and found no similar issues.

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?

  • Yes I am willing to submit a PR!

Code of Conduct

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题