ABAyush Bansalincppminiprojects.hashnode.dev·Jan 26 · 4 min readExtending C++ using LLVMIntroduction 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...00
ABAyush Bansalincppminiprojects.hashnode.dev·Jan 13, 2025 · 5 min readCompile-Time Listhttps://github.com/ayushbansal07/Cpp-miniprojects/tree/main/001_compiletimelist Introduction Imagine you have a usecase where you’d like to do some operation on list of some objects that follow a similar interface. For example, you have a list of che...01C