Awesome
preprocessor-debug
Observe how the C preprocessor expands your complicated macros
Dependencies:
- clang 4.0
- CMake 3.3+
Build instructions:
mkdir build && cd build
cmake ..
make
Use instructions:
./pp-step ../example.cpp
asm.js version:
Dependencies
- clang 4.0
- yarn
- Emscripten
Build instructions:
- 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