Observe how the C preprocessor expands your complicated macros
- clang 4.0
- CMake 3.3+
mkdir build && cd build
cmake ..
make
./pp-step ../example.cpp
- clang 4.0
- yarn
- Emscripten
- Build clang in bitcode. This is hard, but can be done with the help of
emmake
. When you are done, updateCLANG_LIB_PATH
inweb/Makefile
. cd web
make
yarn
Since building clang in bitcode is hard, a pre-compiled version of the tool is in web/compiled.tgz