Skip to content

lubkoll/clang-type-erase

Repository files navigation

Build Status

clang-type-erase

Parses a header file with one or multiple interface definitions and creates the corresponding type-erased interfaces.

  • Options:
    • Choose between the straight-forward implementation of type-erased interfaces based on built-in dynamical polymorphism or an optimized implementation that is based on custom function tables.
    • copy-on-write
    • small buffer optimization
    • non-copyable interfaces
    • no RTTI
  • clang-type-erase is based on Clang's LibTooling. To compile it:
    • obtain Clang
    • download/clone clang-type-erase and place the folder clang-type-erase into \<path-to-llvm\>/tools/clang/tools/extra
    • add add_subdirectory(clang-type-erase) to \<path-to-llvm\>/tools/clang/tools/extra/CMakeLists.txt
    • (re-)compile (see here)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages