aboutsummaryrefslogtreecommitdiff
path: root/libiberty/cp-demangle.c
diff options
context:
space:
mode:
authorMiguel Saldivar <saldivarcher@gmail.com>2019-10-28 19:14:48 +0000
committerJeff Law <law@gcc.gnu.org>2019-10-28 13:14:48 -0600
commit420fb10c0974fcfa77d8a5146cc7d486ab423c1b (patch)
tree3d89e3b4e66077eff76690297f823a94530d68b9 /libiberty/cp-demangle.c
parentea9d5cc80e39746e237dc5281e9492a080d238f4 (diff)
downloadgcc-420fb10c0974fcfa77d8a5146cc7d486ab423c1b.zip
gcc-420fb10c0974fcfa77d8a5146cc7d486ab423c1b.tar.gz
gcc-420fb10c0974fcfa77d8a5146cc7d486ab423c1b.tar.bz2
cp-demangle.c (d_print_mod): Add a space before printing `complex` and `imaginary`, as opposed to after.
* cp-demangle.c (d_print_mod): Add a space before printing `complex` and `imaginary`, as opposed to after. * testsuite/demangle-expected: Adjust test. From-SVN: r277535
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r--libiberty/cp-demangle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index aa78c86..877ad35 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -5977,10 +5977,10 @@ d_print_mod (struct d_print_info *dpi, int options,
d_append_string (dpi, "&&");
return;
case DEMANGLE_COMPONENT_COMPLEX:
- d_append_string (dpi, "complex ");
+ d_append_string (dpi, " _Complex");
return;
case DEMANGLE_COMPONENT_IMAGINARY:
- d_append_string (dpi, "imaginary ");
+ d_append_string (dpi, " _Imaginary");
return;
case DEMANGLE_COMPONENT_PTRMEM_TYPE:
if (d_last_char (dpi) != '(')