Extending C++ using LLVM
Introduction LLVM is an open-source, modular compiler infrastructure, and Clang is its C++ front-end. In this project, I use LLVM to build a custom Clang compiler that introduces a new C++ builtin -counting the number of fields in a C++ struct / clas...
Jan 26, 20264 min read197