Transitive Include Detector is a C++ tool that leverages libclang to detect and warn about transitive includes in C/C++ projects. Transitive includes occur when headers are indirectly included through other headers, often leading to increased compilation times and unnecessary dependencies.
Sample output for some cases
- Utilizes libclang for efficient and accurate parsing of C++ source files
- Detects and reports transitive includes within the codebase
- Designed for integration with Code::Blocks IDE for seamless development and testing
Transitive includes can significantly impact build times and code maintainability. This tool helps developers:
- Identify unnecessary indirect dependencies
- Improve compilation performance
- Simplify and clean up header usage across large codebases
- Clone the repository:
git clone https://github.com/yourusername/transitive-include-detector.git
- Open .cbp file using Codeblocks
- Build the project
cd bin/debug./transitive_include_detectos <path to project>./transitive_include_detector --help for all configurtion options


