[llvm-dev] [cfe-dev] [RFC] clang support for API information generation in JSON

Ben Boeckel via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 1 15:00:46 PDT 2021


On Wed, Sep 01, 2021 at 11:18:55 -0700, Zixu Wang via cfe-dev wrote:
> We are excited about this idea and its potential uses, and we’d love
> to hear feedback and suggestions!

I'll point to this tool which already exists:

    https://github.com/CastXML/CastXML

It dumps XML instead of JSON, but it serves the goals at least. Note
that one of the main problems that needs tackling is emulating other
compilers (e.g., seeing the API as MSVC sees it).

--Ben


More information about the llvm-dev mailing list