pygccxml icon indicating copy to clipboard operation
pygccxml copied to clipboard

Can't detect forward declared classes(expose incomplete attribute)

Open mundusnine opened this issue 6 years ago • 0 comments

So I want to detect which classes in the classes I am parsing that are real classes and not forward declared ones. I asked the question in Castxml and they said that the incomplete attribute of the xml gives this information. I didn't find anything in the docs for getting xml attributes directly or a pygccxml object that has this information.

Could be interesting to add to class_t a bool member is_forward_declaration

mundusnine avatar Aug 27 '18 20:08 mundusnine