deheader
Find and remove unnecessary includes in C or C++ source files
Install
- All systems
-
curl cmd.cat/deheader.sh
- Debian
-
apt-get install deheader - Ubuntu
-
apt-get install deheader - Kali Linux
-
apt-get install deheader - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install deheader - OS X
-
brew install deheader - Raspbian
-
apt-get install deheader
deheader
Find and remove unnecessary includes in C or C++ source files
deheader analyzes C and C++ files to determine which header inclusions can be removed while still allowing them to compile. This may result in substantial improvements in compilation time, especially on large C++ projects; it also sometimes exposes dependencies and cohesions of which developers were unaware.