I would like to create a tool that accepts a set of C / C ++ headers and macro definitions and lists the visible types, functions, variables, and macros, preferably with complete type information. At first I thought about using the Clang APIs, but first of all I wanted to use this tool in the Windows SDK headers, and I probably need to pre-process them to get Klang to parse them correctly. The C ++ parser in Visual Studio is already retrieving the information I need, so it would be nice if I could just use this.
Is it possible to do something like this without writing a Visual Studio extension?
source share