[cfe-dev] 'func()' vs. 'func(void)' in libclang
arcata at gmail.com
Mon Feb 25 13:20:14 PST 2013
On Mon, Feb 25, 2013 at 10:24 AM, jaytee <aloha_arts at yahoo.com> wrote:
> Hello all!
> Is there a way I can determine with libclang, whether a function is
> as 'func()' or 'func(void)'?
> Thank you!
Assuming this is for C code, clang_isFunctionTypeVariadic will be true for
the CXType of the former but not the latter.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev