I would like ask you if it is possible to determine if a function has variable number of arguments such as printf.
I could not find a way using the classes FunctionDecl and FunctionProtoType.
Thanks for your help in advance.
FunctionDecl::isVariadic() and FunctionProtoType::isVariadic(), respectively.
I have found doxygen extremely useful in finding the APIs for AST nodes. Assuming you know the AST
you are interested (-ast-dump will give you that). You can find that you are looking for (if there is one).