diff options
author | Jason Merrill <jason@redhat.com> | 2010-03-22 16:38:35 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2010-03-22 16:38:35 -0400 |
commit | ce30e6fd06d9434c9b99162da448d37963fbcf24 (patch) | |
tree | 8fa114698e3515724c7230f5173bd35d599308b7 /libiberty/cp-demangle.c | |
parent | 3a1ef68af0f80dc73971e7395f91644316ebd8c3 (diff) | |
download | gcc-ce30e6fd06d9434c9b99162da448d37963fbcf24.zip gcc-ce30e6fd06d9434c9b99162da448d37963fbcf24.tar.gz gcc-ce30e6fd06d9434c9b99162da448d37963fbcf24.tar.bz2 |
c-pretty-print.c (pp_c_specifier_qualifier_list): Use () rather than [], and move before the element type.
* c-pretty-print.c (pp_c_specifier_qualifier_list) [VECTOR_TYPE]:
Use () rather than [], and move before the element type.
* cp-demangle.c (d_print_mod): Use () rather than [] for vectors.
From-SVN: r157650
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r-- | libiberty/cp-demangle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c index b1319cf..98c64db 100644 --- a/libiberty/cp-demangle.c +++ b/libiberty/cp-demangle.c @@ -4506,9 +4506,9 @@ d_print_mod (struct d_print_info *dpi, d_print_comp (dpi, d_left (mod)); return; case DEMANGLE_COMPONENT_VECTOR_TYPE: - d_append_string (dpi, " vector["); + d_append_string (dpi, " __vector("); d_print_comp (dpi, d_left (mod)); - d_append_char (dpi, ']'); + d_append_char (dpi, ')'); return; default: |