cppclean
Find unused code in C++ projects. More information: https://github.com/myint/cppclean.
- Run in a project's directory:
cppclean
- Run on a project where the headers are in the
inc1/andinc2/directories:
cppclean --include-path --include-path
- Run on a specific file
main.cpp:
cppclean
- Run on the current directory, excluding the "build" directory:
cppclean --exclude
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
