<div dir="ltr"><div>Dear Team,</div><div><br></div><div>I am trying to parse a code snippet without passing the full definition of types used using libclang. For example,</div><div><br></div><div>foo goo(foo x)</div><div>{</div><div>  return x;</div><div>}</div><div><br></div><div>When I traverse the AST I get as below,<br></div><div>int goo(int x)</div><div>{</div><div>  return x;</div><div>}</div><div><br></div><div>foo type is converted to int.</div><div><br></div><div>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?</div><div><br></div><div>Thanks and regards</div><div>Amrulla</div><div><br></div></div>