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.
I use pygccxml to parse Google FlatBuffers (flatbuffers/tests/monster_test_generated.h) with the following configuration: ``` xml_generator_config = parser.xml_generator_configuration_t( xml_generator_path=generator_path, xml_generator=generator_name, include_paths = ["include","3rd_party/flatbuffers/include"], compiler='g++', cflags = "-std=c++11" ) ``` then error occured:...
**System Information** Version of pygccxml: 2.2.1, Python 3.10.5, Linux-5.18.7 i686, gcc 10.2.1 2020120. ``` =================================== FAILURES =================================== __________________________ Test.test_keep_va_list_tag __________________________ self = def test_keep_va_list_tag(self): if "gccxml" in self.config.xml_generator or \...
i had a A.hpp,include class A。 it can generator right at first。 but when i new a class B inherit A in B.hpp。 it will lost A expose。
using pygccxml 2.2.1 parsing a .hpp file from a class with this function /** * test call * @param somepara - a parameter * @return a return value */ uint32_t...
It seems that pygccxml does not to parser c code, because the compiler setting is C++, then pygccxml parser c code as c++ code, and the error or warning would...
Hi, I just started testing `pygccxml` and I can't find a way to retrieve information about where some function is declared or defined. Is it possible? For example: ```cpp class...
Hi, The "\_\_restrict\_\_" qualifier is for linux only and applied to the start of the decl_string, rather than the end. ` #if defined( _MSC_VER ) #define RESTRICT_ALIAS \_\_restrict #define RESTRICT_ALIAS_RETURN...
Hey, `pygccxml` is having troubles parsing the following C++ code: ``` #include int main() { std::function func = [](){}; } ``` If parsed from file, this code results in the...
Codecov coverage reports were mostly fixed in 8c4df7a677f79ee11d5b3d18d8c1ca7487d7c2e5. After this commit, code coverage is being displayed, but every report contains the message "Waiting for CI to complete". This prevents notifications...