I haven't tried this or seen a feature request about it yet, so I don't
think so. A quick look says it might be annoying because this is not
directly exposed by libclang (so would need to use the tokenizer directly,
like I do for MacroDefinition handling):

http://clang-developers.42468.n3.nabble.com/Finding-default-value-for-function-argument-with-clang-c-API-td4036919.html

Feel free to file a feature request and I'll take a look. Since I am
already compiling a C(++) helper library, possibly an easier option would
be to do an extension there and reach in to the Clang C++ API (which could
potentially be upstreamed).

Best,
Isaiah


On Fri, Feb 21, 2014 at 8:28 AM, Joosep Pata <[email protected]> wrote:

> Has anyone tried extracting default argument values for a function from a
> C header using Clang.jl? In general, I find the package really great and
> easy to use (thanks Isaiah).
>
> Thanks,
> Joosep

Reply via email to