diff options
Diffstat (limited to 'plugins/itanium')
-rw-r--r-- | plugins/itanium/abi.c | 12 | ||||
-rw-r--r-- | plugins/itanium/component.c | 16 |
2 files changed, 14 insertions, 14 deletions
diff --git a/plugins/itanium/abi.c b/plugins/itanium/abi.c index 0304938..213d5f7 100644 --- a/plugins/itanium/abi.c +++ b/plugins/itanium/abi.c @@ -1926,7 +1926,7 @@ static itanium_component *itd_type(GItaniumDemangling *context) else { - builtin = g_class_enum_type_new(CET_UNKNOWN, itd_translate_component(vendor, NULL)); + builtin = g_class_enum_type_new(CEK_UNKNOWN, itd_translate_component(vendor, NULL)); result = itd_make_type(builtin); itd_set_type(result, ICT_VENDOR_TYPE); itd_unref_comp(vendor); @@ -2348,9 +2348,9 @@ static itanium_component *itd_builtin_type(GItaniumDemangling *context) case 'n': - std = g_class_enum_type_new(CET_NAMESPACE, strdup("std")); + std = g_class_enum_type_new(CEK_NAMESPACE, strdup("std")); - builtin = g_class_enum_type_new(CET_CLASS, strdup("nullptr_t")); + builtin = g_class_enum_type_new(CEK_CLASS, strdup("nullptr_t")); g_data_type_set_namespace(builtin, std, strdup("::")); result = itd_make_type(builtin); @@ -2377,7 +2377,7 @@ static itanium_component *itd_builtin_type(GItaniumDemangling *context) result = NULL; else { - builtin = g_class_enum_type_new(CET_UNKNOWN, itd_translate_component(vendor, NULL)); + builtin = g_class_enum_type_new(CEK_UNKNOWN, itd_translate_component(vendor, NULL)); result = itd_make_type(builtin); itd_unref_comp(vendor); } @@ -3480,14 +3480,14 @@ static itanium_component *itd_substitution(GItaniumDemangling *context) if (stdinfo->code == cur) { - std = g_class_enum_type_new(CET_NAMESPACE, strdup("std")); + std = g_class_enum_type_new(CEK_NAMESPACE, strdup("std")); if (stdinfo->class == NULL) type = std; else { - type = g_class_enum_type_new(CET_CLASS, strdup(stdinfo->class)); + type = g_class_enum_type_new(CEK_CLASS, strdup(stdinfo->class)); g_data_type_set_namespace(type, std, strdup("::")); } diff --git a/plugins/itanium/component.c b/plugins/itanium/component.c index f035e36..3791c4c 100644 --- a/plugins/itanium/component.c +++ b/plugins/itanium/component.c @@ -1415,14 +1415,14 @@ GDataType *itd_translate_component_to_type(const itanium_component *comp, Routin { case ICT_NAME: name = itd_translate_component(comp, NULL); - result = g_class_enum_type_new(CET_STRUCT, name); + result = g_class_enum_type_new(CEK_STRUCT, name); break; case ICT_STD_UNSCOPED_NAME: result = itd_translate_component_to_type(comp->unary, rtype); if (result != NULL) { - ns = g_class_enum_type_new(CET_NAMESPACE, strdup("std")); + ns = g_class_enum_type_new(CEK_NAMESPACE, strdup("std")); itd_prepend_namespace_to_type(result, ns); } break; @@ -1434,7 +1434,7 @@ GDataType *itd_translate_component_to_type(const itanium_component *comp, Routin name = itd_translate_component(comp->binary.left, NULL); name = itd_translate_component(comp->binary.right, name); - result = g_class_enum_type_new(CET_CLASS, name); + result = g_class_enum_type_new(CEK_CLASS, name); } @@ -1515,7 +1515,7 @@ GDataType *itd_translate_component_to_type(const itanium_component *comp, Routin name = itd_translate_component(comp->binary.left, NULL); name = itd_translate_component(comp->binary.right, name); - result = g_class_enum_type_new(CET_CLASS, name); + result = g_class_enum_type_new(CEK_CLASS, name); } @@ -1544,7 +1544,7 @@ GDataType *itd_translate_component_to_type(const itanium_component *comp, Routin name = itd_translate_component(comp->binary.left, NULL); name = itd_translate_component(comp->binary.right, name); - result = g_class_enum_type_new(CET_CLASS, name); + result = g_class_enum_type_new(CEK_CLASS, name); } @@ -1582,7 +1582,7 @@ GDataType *itd_translate_component_to_type(const itanium_component *comp, Routin case ICT_OPERATOR_NAME: name = itd_translate_component(comp, NULL); - result = g_class_enum_type_new(CET_STRUCT, name); + result = g_class_enum_type_new(CEK_STRUCT, name); break; case ICT_SPECIAL_NAME_VTABLE: @@ -1594,7 +1594,7 @@ GDataType *itd_translate_component_to_type(const itanium_component *comp, Routin else { - result = g_class_enum_type_new(CET_VIRTUAL_TABLE, NULL); + result = g_class_enum_type_new(CEK_VIRTUAL_TABLE, NULL); itd_prepend_namespace_to_type(result, ns); } @@ -1609,7 +1609,7 @@ GDataType *itd_translate_component_to_type(const itanium_component *comp, Routin else { - result = g_class_enum_type_new(CET_VIRTUAL_STRUCT, NULL); + result = g_class_enum_type_new(CEK_VIRTUAL_STRUCT, NULL); itd_prepend_namespace_to_type(result, ns); } |