Skip to content

A command line tool that quickly detects transitive includes in source code and suggests fixes. Built on top of libclang.

License

Notifications You must be signed in to change notification settings

malsadev/tid_cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

39 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Transitive Include Detector

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 compatibility issues when building projects in different environments.


๐Ÿ“ธ Screenshots

Sample output for some cases

Screenshot Placeholder Screenshot Placeholder Screenshot Placeholder


๐Ÿš€ Key Features

  • Utilizes libclang for efficient and accurate parsing of C++ source files
  • Detects transitive includes within the codebase

๐Ÿ”ง Usage

  1. Clone the repository:
    git clone https://github.com/yourusername/transitive-include-detector.git
  2. Open .cbp file using Codeblocks
  3. Build the project
  4. cd bin/debug
  5. ./transitive_include_detectos <path to project>
  6. ./transitive_include_detector --help for all configurtion options

About

A command line tool that quickly detects transitive includes in source code and suggests fixes. Built on top of libclang.

Topics

Resources

License

Stars

Watchers

Forks

Languages