Skip to content

Functions/methods extractor for C/C++ based on libclang

Notifications You must be signed in to change notification settings

f-squirrel/fext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Function Extractor

Purpose

The purpose of the tool is to identify methods and functions defined in header files and automatically move the definitions to corresponding translation units. If a translation unit does not exist, the tool creates it.

Caveats

  • Function Extractor expects to receive valid C/C++ code as input
  • Highly recommended to run it only for commited code
  • The tool does not offer custom formatting. If needed, clang-format can be used.

Roadmap

  • Diagnostic: Identify definitions in header files and print them
  • Update existing header files
  • Create translation unit if does not exist
  • Update existing translation units
  • Config file
    • Exclude directories, paths, files
  • Extended cmd line parameters

About

Functions/methods extractor for C/C++ based on libclang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published