[cfe-dev] check if a function parameter list has `void` specifier
kevinlynx
kevinlynx at gmail.com
Sun Jan 6 19:31:30 PST 2013
if a function has no parameters, it can be declared as:
int func();
int func(void);
In my coding standard checking tool, I want to determine whether a function has a `void` specifier. How to check this ? All I get is a `FunctionDecl`.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130107/2ce2d154/attachment.html>
More information about the cfe-dev
mailing list