[cfe-dev] Newbie Question : parsing functions with unknown number of arguments

sid sidxavier1 at yahoo.co.in
Sat Oct 15 14:43:00 PDT 2011


Hi,

How can i parse functions which look like -

int foo (char a,...)
{
   //body
}

with a function call foo(x,y,z); // x,y,z are all char

I am using recursiveASTVisitor and the VisitFunctionDecl for getting the
parameters.

Thanks

--
View this message in context: http://clang-developers.42468.n3.nabble.com/Newbie-Question-parsing-functions-with-unknown-number-of-arguments-tp3424828p3424828.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list