marxin / cvise

Super-parallel Python port of the C-Reduce
Other
242 stars 25 forks source link

Transformation instantiate-template-param did not support replacement of all types (e.g. pointer, reference, arrays were not working) #94

Closed strimo378 closed 1 year ago

strimo378 commented 1 year ago

getTypeString implemented a manual generation of types. That was very error-prone and missed many types.

I changed the method to use the official print method that clang provides. I further added a test case to add forward strings in getTypeString. That was not tested before.