pocoproject / poco

The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
https://pocoproject.org
Other
8.07k stars 2.11k forks source link

CppParser: Support unions #4442

Open obiltschnig opened 5 months ago

obiltschnig commented 5 months ago

While CppParser is far from being a complete C++ parser, it should nevertheless be able to process the header files from the POCO C++ Libraries without too many issues. One missing feature is support for union. Given that unions are syntactically identical to structs (for our purposes), adding this should not be too hard.