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:
@@ -129,7 +129,7 @@ Node::NodeType ParserClientImpl::symbolKindToNodeType(SymbolKind symbolKind) con
|
||||
case SYMBOL_TYPE_PARAMETER:
|
||||
return Node::NODE_TYPE_PARAMETER;
|
||||
case SYMBOL_UNION:
|
||||
return Node::NODE_TYPE;
|
||||
return Node::NODE_UNION;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user