if the compiler target is for clang, we may be able to use clang’s ast-dump, something like this topic Experimental tool to generate idiomatic Zig bindings from C++, the msvc compiler also can dump ast but it won’t be compatible with clang i suppose, so you’ve to create wrapper for different compilers or just ditch msvc, since gcc and clang both support same c++ mangling afaik.