summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-09 07:59:00 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-09 07:59:00 (GMT)
commitddd7d7ee25776f41c3a37c6d29a1f929cf4c77ea (patch)
tree3660299538462965767ba8304a679a96a3a86e46 /plugins
parent21af77b7c44126c05b62319f99a679fc748b579e (diff)
Run one last quick review of Itanium demangling.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/itanium/abi.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/plugins/itanium/abi.c b/plugins/itanium/abi.c
index 8891446..da6d7c8 100644
--- a/plugins/itanium/abi.c
+++ b/plugins/itanium/abi.c
@@ -230,9 +230,6 @@ static itanium_component *itd_value_to_string(GItaniumDemangling *, bool);
/* Extrait un composant dans un contexte Itanium. */
static itanium_component *itd_expr_primary(GItaniumDemangling *);
-
-
-
/* Extrait un composant dans un contexte Itanium. */
static bool itd_seq_id(GItaniumDemangling *, char, size_t *);
@@ -241,17 +238,10 @@ static itanium_component *itd_substitution(GItaniumDemangling *);
-
-
-
#define itd_local_name(ctx) NULL
-
-
-
-
/******************************************************************************
* *
* Paramètres : context = contexte de décodage à utiliser. *
@@ -662,14 +652,13 @@ static itanium_component *itd_nested_name(GItaniumDemangling *context)
else
{
- if (left != NULL)
- itd_unref_comp(left);
+ itd_unref_comp(left);
itd_unref_comp(right);
}
}
- else if (left != NULL)
+ else
itd_unref_comp(left);
}
@@ -2306,6 +2295,8 @@ static itanium_component *itd_builtin_type(GItaniumDemangling *context)
break;
case 'u':
+ advance_input_buffer(ibuf, 1);
+
vendor = itd_source_name(context);
if (vendor == NULL)