On 2012-07-20 15:04, Andrej Mitrovic wrote:
Nice work!
Thanks.
Can I ask you something? Do you know if (lib)clang exports typeinfo
for default values? For example:
namespace Foo
{
enum En
{
Val1,
Val2
};
}
void test(int x = Foo::Val1) { }
'x' has typeinfo (it's an int), but I'm interested in the typeinfo for
the default value "Foo::Val1". In other tools (like gccxml) the
default value is exported as a string which makes generating default
values in D hard (not impossible but just hard).
Don't know, sorry. I have only worked with C and Objective-C code. I can
see if I can find out.
--
/Jacob Carlborg