[cfe-dev] preprocessing source using libclang
Alex Turbov
i.zaufi at gmail.com
Mon Dec 31 02:07:43 PST 2012
ALL,
is there any way to get macro expansion using libclang? I mean, for
example, in code like this:
#define FOO(x) foo(x, x)
FOO(123)
to get expansion of FOO(123) at line 2 as text "foo(123,123)"??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121231/6e67c8cc/attachment.html>
More information about the cfe-dev
mailing list