Summary

Find and optionally remove unneeded includes in C or C++ sourcefiles.

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.

Resources


COPYINGproject license
NEWSproject news
deheader-1.2.tar.gzgzipped source tarball
READMEroadmap file
deheader.htmlHTML rendering of deheader.1

The project repository is at https://gitlab.com/esr/deheader.

Project statistics are available at OpenHub.

If you appreciate this code (and especially if you make money by using it) please leave me a tip on Gratipay.

Recent Changes

    Notice preprocessor directives with whitespace after the hash-mark