davidmalcolm / gcc-python-plugin

GCC plugin that embeds CPython inside the compiler
GNU General Public License v3.0
197 stars 58 forks source link

expose DECL_ORIGINAL_TYPE (for typedefs) #174

Closed eqvinox closed 5 years ago

eqvinox commented 5 years ago

This is a rebase/respin of #25 which is desperately needed. Without this, it's impossible to figure out what a typedef is defined to.

Code is originally by @bloff - I just rebased it and added a small test.

davidmalcolm commented 5 years ago

Thanks for the patch