I am trying to parse a code snippet without passing the full definition of types used using libclang. For example,
foo goo(foo x)
When I traverse the AST I get as below,
int goo(int x)
foo type is converted to int.
I am looking for a work around to get AST for this kind of code snippets without providing full definitions using clang and without implicit conversion to int for unknown types. Could you please help me with this?