<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I have found doxygen extremely useful in finding the APIs for AST nodes. Assuming you know the AST<div>you are interested (-ast-dump will give you that). You can find that you are looking for (if there is one).</div><div><br class="webkit-block-placeholder"></div><div><a href="http://clang.llvm.org/doxygen/classes.html">http://clang.llvm.org/doxygen/classes.html</a></div><div><br class="webkit-block-placeholder"></div><div>- fariborz</div><div><br><div><div>On Aug 18, 2010, at 8:38 AM, Douglas Gregor wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 18, 2010, at 8:31 AM, Murat B wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0" style="position: static; z-index: auto; "><tbody><tr><td valign="top" style="font: inherit;">Dear all,<br><br>I would like ask you if it is possible to determine if a function has variable number of arguments such as printf.<br><br>I could not find a way using the classes FunctionDecl and FunctionProtoType.<br></td></tr></tbody></table></blockquote></div><br><div><br></div><div>FunctionDecl::isVariadic() and FunctionProtoType::isVariadic(), respectively.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- Doug</div></div>_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev<br></blockquote></div><br></div></body></html>