cppclean

Find unused code in C++ projects. More information: https://github.com/myint/cppclean.

cppclean path/to/project

cppclean path/to/project --include-path inc1 --include-path inc2

cppclean main.cpp

cppclean . --exclude build