Skip to content

nsc/clangPlugin

Repository files navigation

To build the plugin execute:

git submodule init
git submodule update
ln -s ../../clang llvm/tools/clang

# build llvm & clang
mkdir build.llvm
cd build.llvm
cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo ../llvm
make
cd ..

# build clangPlugin
mkdir build
cd build
cmake -DCLANG_PLUGIN_DIR=`pwd`/.. ..
make

# build Xcode Template
make XcodeTemplate
rsync -av Library ~

# To use the custom build clang as the Xcode analyzer
sudo make xcode-analyzer

About

A template for building a clang plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published