Parsing C (even "only" headers) is difficult; the language is more complex than people remember, and then there is a preprocessor and, finally, the problem is something to do with parsing. C ++ includes essentially all of C, but with C ++ 11, the problem here is even worse.
People can often crack the 98% solution for a limited set of inputs, often with regular expressions in Perl or some other hacker hacker. If this works for you, then good. Typically, 2% causes the hacked parser to suffocate or give the wrong answer, and then you can debug the result and manually crack the yield of 98%.
, , , , , ( C ++ ). . Microsoft.h . , , OP . , C / ++. 98% - ; typedefs , , . "" FOO X; , X FOO... oops, ? .
GCCXML , ... GCC C. Microsoft , , GCCXML .
- DMS Software Reengineering Toolkit C ; ++ front end (, , C ++ - ). C ( MS, GCC ), / , AST ( ).
, , . , # (, #), DMS .net.