@@ -216,7 +216,7 @@ unsigned BitSizeOf (const Type* T)
216
216
unsigned SizeOf (const Type * T )
217
217
/* Compute size (in bytes) of object represented by type array */
218
218
{
219
- switch (GetUnqualTypeCode (T )) {
219
+ switch (GetUnderlyingTypeCode (T )) {
220
220
221
221
case T_VOID :
222
222
/* A void variable is a cc65 extension.
@@ -368,7 +368,7 @@ static unsigned GetMinimalTypeSizeByBitWidth (unsigned BitWidth)
368
368
369
369
370
370
371
- TypeCode GetUnqualTypeCode (const Type * Type )
371
+ TypeCode GetUnderlyingTypeCode (const Type * Type )
372
372
/* Get the type code of the unqualified underlying type of Type.
373
373
** Return GetUnqualRawTypeCode (Type) if Type is not scalar.
374
374
*/
@@ -725,7 +725,7 @@ const Type* ArithmeticConvert (const Type* lhst, const Type* rhst)
725
725
const Type * GetSignedType (const Type * T )
726
726
/* Get signed counterpart of the integral type */
727
727
{
728
- switch (GetUnqualTypeCode (T ) & T_MASK_RANK ) {
728
+ switch (GetUnderlyingTypeCode (T ) & T_MASK_RANK ) {
729
729
case T_RANK_CHAR :
730
730
return type_schar ;
731
731
@@ -739,7 +739,7 @@ const Type* GetSignedType (const Type* T)
739
739
return type_long ;
740
740
741
741
default :
742
- Internal ("Unknown type code: %lX" , GetUnqualTypeCode (T ));
742
+ Internal ("Unknown type code: %lX" , GetUnderlyingTypeCode (T ));
743
743
return T ;
744
744
}
745
745
}
@@ -749,7 +749,7 @@ const Type* GetSignedType (const Type* T)
749
749
const Type * GetUnsignedType (const Type * T )
750
750
/* Get unsigned counterpart of the integral type */
751
751
{
752
- switch (GetUnqualTypeCode (T ) & T_MASK_RANK ) {
752
+ switch (GetUnderlyingTypeCode (T ) & T_MASK_RANK ) {
753
753
case T_RANK_CHAR :
754
754
return type_uchar ;
755
755
@@ -763,7 +763,7 @@ const Type* GetUnsignedType (const Type* T)
763
763
return type_ulong ;
764
764
765
765
default :
766
- Internal ("Unknown type code: %lX" , GetUnqualTypeCode (T ));
766
+ Internal ("Unknown type code: %lX" , GetUnderlyingTypeCode (T ));
767
767
return T ;
768
768
}
769
769
}
0 commit comments