<div dir="ltr"><span style="font-size:13px">I've been working on some python classes to simply represent C++ code. It's build using the AST and libclang's Python bindings:</span><div style="font-size:13px"><br></div><div style="font-size:13px"><a href="https://github.com/jbcoe/clang_cpp_code_model" target="_blank">https://github.com/jbcoe/clang_cpp_code_model</a><br></div><div style="font-size:13px"><br></div><div style="font-size:13px">I'm using it to drive a very rudimentary code generator (It can build test mocks and basic C/C++/Python bindings):</div><div style="font-size:13px"><br></div><div style="font-size:13px"><a href="https://github.com/jbcoe/C_API_generation" target="_blank">https://github.com/jbcoe/C_API_generation</a><br></div><div style="font-size:13px"><br></div><div style="font-size:13px">Are either of these projects of interest to the broader LLVM development community? I appreciate that a lot of work would be required, but I would be interested in contributing the code model (and potentially the generator) to the LLVM project.</div><div style="font-size:13px"><br></div><div style="font-size:13px">regards,</div><div style="font-size:13px"><br></div><div style="font-size:13px">Jonathan</div></div>