What libraries are available for parsing c++ to extract type information

前端 未结 7 1334
走了就别回头了
走了就别回头了 2021-02-05 18:33

I\'m looking for a way to parse c++ code to retrieve some basic information about classes. I don\'t actually need much information from the code itself, but I do need it to hand

7条回答
  •  情书的邮戳
    2021-02-05 18:47

    Exuberant Ctags will give you most of what you need, it's usually used by editors to provide code navigation.
    May choke on some templates though...

提交回复
热议问题