| 97 | } |
| 98 | |
| 99 | Type TypeDecl::getR2VType() const { |
| 100 | if ( baseType==Type::tHandle ) { |
| 101 | auto valueType = annotation->makeValueType(); |
| 102 | DAS_ASSERTF(valueType, "internal integration error. handle type %s has no value type", annotation->name.c_str()); |
| 103 | return valueType->baseType; |
| 104 | } else { |
| 105 | return baseType; |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | bool TypeDecl::isClass() const { // CANT BE INLINED DUE TO STRUCT TYPE |
| 110 | return isStructure() && structType && structType->isClass; |
no test coverage detected