Now it’s time to build our own clang standalone tool. The official LibTooling document provides an example code so that I was able to begin with it. How to write CMakeLists.txt for the standalone clang tool? Of course using the cmake is not required, but I wanted to go with it. At first … Continue reading Build your own clang example outside of the llvm source tree
Month: August 2016
Where’s my ‘llvm/tools/clang/example’ binaries?
Recently I got interests in clang & its library(Libtooling, more specifically) so that I decided to start digging in. However, the first frustration came from while building the clang examples. Download and build the clang source tree Building the clang executable was easy. The Clang website provides instructions and you’ll get the result by just … Continue reading Where’s my ‘llvm/tools/clang/example’ binaries?