Jonathan Müller

Results 136 comments of Jonathan Müller

Then I'm afraid there isn't an easy way to do it with the current API.

The behavior is correct, `uint32_t` is not a builtin type, but a typedef in `stddef.h`. The typedef declaration is not in the index, because you didn't parse `stddef.h`.

> I believe stdint.h has been parsed : I use the compilation database generated from Qt creator to parse the file, hence the stdint.h file must be in the include...

Are they visited if you visit a function? If not, that's by design, template parameters aren't visited as well, you'd have to iterate over . parameters () then. Feel free...

Yes, cast​ and you'll have everything. The general problem is: how do I handle entities that have more than one kind of children? The best example is a class, it...

It depends on the entity, they sometimes visit, sometimes don't. I'll see what I can come up with.

I see what I can do about it.

Okay, I'll add it. Because I don't have access to the CXCursor (and can't, by design), I'd probably have to add a std::string to cpp_entity, bloating everything again. I could...

I have taken careful design decision to make cppast backend intrusive. I can easily add a different parser implementation that uses CQuery, for example. The AST itself is generic. I...

What do you mean by anchors? If you want the base classes, they're available via the `bases()` member function of `cpp_class`.