[cfe-dev] libclang: inspecting function parameters with default arguments
Tamás Szelei
hello.sztomi at gmail.com
Thu Feb 6 01:02:04 PST 2014
Hello,
I would like to detect when a PARM_DECL has a default value, i.e.
in the case:
void foo(int x = 5);
I want to be able to tell that x has a default value. I'm not interested in
the statement after the = sign, only the fact that it has a default
parameter.
Is this possible with libclang?
-- sztomi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140206/c1d6690b/attachment.html>
More information about the cfe-dev
mailing list