| 2962 | } |
| 2963 | |
| 2964 | data_map CGenerator::firstAllocOnReturnWhenIsNeed(const string &name, DataType *dataType) |
| 2965 | { |
| 2966 | DataType *trueDataType = dataType->getTrueDataType(); |
| 2967 | if ((trueDataType->isArray() || trueDataType->isStruct() || trueDataType->isUnion()) && |
| 2968 | !findAnnotation(dataType, SHARED_ANNOTATION)) |
| 2969 | { |
| 2970 | return allocateCall(name, dataType); |
| 2971 | } |
| 2972 | |
| 2973 | data_map r; |
| 2974 | return r; |
| 2975 | } |
| 2976 | |
| 2977 | data_map CGenerator::firstAllocOnServerWhenIsNeed(const string &name, StructMember *structMember) |
| 2978 | { |
nothing calls this directly
no test coverage detected