pygccxml
pygccxml copied to clipboard
pygccxml is a specialized XML reader that reads the output from CastXML or GCCXML. It provides a simple framework to navigate C++ declarations, using Python classes.
Hi there, I have encountered the following error during the execution of pygccxml. If I launch castXML myself it sucessfully generates the XML file so I guess the issue comes...
This might be closable as "Not a Problem", but figgered I'd post it here anyway. **WARNING**: These benchmarks are still relatively shallow. More work would be necessary to draw meaningful...
Is it possible have a documented reference to `clang.cindex`? https://github.com/llvm/llvm-project/blob/6792069a3fdb412d06dd3cc42a6181c6fb7db860/clang/bindings/python/clang/cindex.py It's basically some simple Python bindings (using `cdll`) to interface with `libclang`: https://github.com/llvm/llvm-project/blob/6792069a3fdb412d06dd3cc42a6181c6fb7db860/clang/bindings/python/clang/cindex.py#L4171-L4178 Perhaps it'd be useful to have a...
hi, I tried to parse a cpp file with pygccxml on windows. I used this from the tutorial: ``` xml_generator_config = parser.xml_generator_configuration_t( xml_generator_path="\\castxml\\bin\\castxml.exe", xml_generator="castxml", compiler_path="\\llvm\\bin\\clang-cpp.exe") ``` The locationPrefix is the...
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...
I am trying to parse the libC library, I had it working on Ubuntu. I've now switched to nixos but the working castxml command doesn't seem to be built from...
Hello. scanner_t.startElement method contains the following code: rm1 = "f1" not in self.config.flags names = [ "__va_list_tag", "__NSConstantString_tag", "__NSConstantString"] if isinstance(obj, declarations.declaration_t): if rm1 and str(obj.name) in names: return I...
Hello. I am using the following environment: $ uname -a Linux roman 4.10.0-30-generic #34-Ubuntu SMP Mon Jul 31 19:38:17 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux $ lsb_release -a Description: Ubuntu...
Is there a way to loop over the types defined inside a template? I'm currently testing the library with the following code: namespace A { struct B { struct D...
I've recently started migrating from gccxml to castxml and have encountered the aforementioned problem. I could narrow the problem down to a minimum example that still fails: template class TemplateClass...