Skip to content
Extract a minimum set of files which define a selected symbol and all its dependencies.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
input
src
unittests
CMakeLists.txt
README.md

README.md

Introduction

This is a clang tooling project for practice.

Given a symbol, clang-closure extracts a minimum set of files from project which define this symbol and all its dependencies.

Update

  • Make clang-closure a part of clang-tools-extra project. Currently manual intervention is requred.

    Add:

    add_subdirectory(path/to/clang-closure
      ${CMAKE_CURRENT_BINARY_DIR}/clang-closure
      )
    

    to path/to/clang-tools-extra/CMakeLists.txt, and

    add_subdirectory(path/to/clang-closure/unittests
      ${CMAKE_CURRENT_BINARY_DIR}/clang-closure
      )
    

    to path/to/clang-tools-extra/unittests/CMakeLists.txt.

You can’t perform that action at this time.