A clang tool to automatically optimize imports in Objective C files. Implementation files will import any necessary headers, header files will forward declare as much as possible. Very much a WIP.
- Download llvm 3.6.0 with clang and clang extra [here] (http://llvm.org/releases/download.html#3.6.0)
- Unpack llvm, unpack clang to
llvm/tools/clang
, unpack clang extra to `llvm/tools/clang/tools/extra' - Checkout the repo to
llvm/tools/clang/tools/extra/import-tidy
- Add the line
add_subdirectory(import-tidy)
to thellvm/tools/clang/tools/extra/CMakeLists.txt
file - Build llvm using CMake as ususal, this should generate the
import-tidy
binary