logic: add storage transformation to merge anonymous types and the respective typedef
* moved storage related classes to data/storage folder * implemented recording c++ unions as NODE_UNION instead of just using NODE_TYPE * added transformation to merge anonymous classes/structs/enums/unions and typedef nodes * added tests for this transformation * added setting for enabling/disabling this transformation
This commit is contained in:
@@ -240,6 +240,9 @@
|
||||
<enum>
|
||||
<like>type</like>
|
||||
</enum>
|
||||
<union>
|
||||
<like>type</like>
|
||||
</union>
|
||||
<typedef>
|
||||
<like>type</like>
|
||||
</typedef>
|
||||
|
||||
@@ -232,6 +232,9 @@
|
||||
<enum>
|
||||
<like>type</like>
|
||||
</enum>
|
||||
<union>
|
||||
<like>type</like>
|
||||
</union>
|
||||
<typedef>
|
||||
<like>type</like>
|
||||
</typedef>
|
||||
|
||||
@@ -235,6 +235,9 @@
|
||||
<enum>
|
||||
<like>type</like>
|
||||
</enum>
|
||||
<union>
|
||||
<like>type</like>
|
||||
</union>
|
||||
<typedef>
|
||||
<like>type</like>
|
||||
</typedef>
|
||||
|
||||
Reference in New Issue
Block a user