MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / getTrueDataType

Method getTrueDataType

erpcgen/src/types/Type.cpp:459–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459DataType *DataType::getTrueDataType()
460{
461 if (this->isAlias())
462 {
463 AliasType *a = dynamic_cast<AliasType *>(this);
464 assert(a);
465 return a->getElementType()->getTrueDataType();
466 }
467 else
468 {
469 return this;
470 }
471}
472
473DataType *DataType::getTrueContainerDataType()
474{

Calls 2

isAliasMethod · 0.95
getElementTypeMethod · 0.45

Tested by

no test coverage detected