Hi all,<br><br>I have a clang::ParmVarDecl argument of a C++ function/method.<br>I need to retrieve the fully scoped type of this argument. For example:<br><br>namespace foo<br>{<br>   typedef struct<br>   {<br>      int bla;<br>
   } oneStruct;<br>}<br><br>...<br><br>namespace foo<br>{<br>    int one_function(oneStruct *arg);<br>};<br><br>When I get the clang::FunctionDecl * for one_function, I then get a ParmVarDecl * for arg.<br>To get the type I can use one of the QualType type = ParmVarDecl::get*Type() functions.<br>
However, when I get the type as a string, it's oneStruct * and not foo:oneStruct *<br><br>How can I get the fully scoped name of this parameter? (using clang 3.1)<br><br>Thank you for your help!<br><br>Pascal<br><br>