diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2014-01-30 14:26:51 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2014-01-30 14:26:51 +0000 |
commit | cc27b5cd8668956fd65ec8a3e480d0d9a254e3d5 (patch) | |
tree | 0c62fce4b09c7a4fdd90173ece25c36cea243c01 /gcc/cp/error.c | |
parent | 404c2aeaae41097fd9f37c1ea74fb87cd1de6d27 (diff) | |
download | gcc-cc27b5cd8668956fd65ec8a3e480d0d9a254e3d5.zip gcc-cc27b5cd8668956fd65ec8a3e480d0d9a254e3d5.tar.gz gcc-cc27b5cd8668956fd65ec8a3e480d0d9a254e3d5.tar.bz2 |
decl.c (duplicate_decls, [...]): Use TYPE_IDENTIFIER.
2014-01-30 Paolo Carlini <paolo.carlini@oracle.com>
* decl.c (duplicate_decls, typename_hash, typename_compare):
Use TYPE_IDENTIFIER.
* error.c (dump_type): Likewise.
* mangle.c (dump_substitution_candidates): Likewise.
From-SVN: r207303
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 35c94f2..050791c 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -512,7 +512,7 @@ dump_type (cxx_pretty_printer *pp, tree t, int flags) pp_cxx_colon_colon (pp); } pp_cxx_ws_string (pp, "template"); - dump_type (pp, DECL_NAME (TYPE_NAME (t)), flags); + dump_type (pp, TYPE_IDENTIFIER (t), flags); break; case TYPEOF_TYPE: |