diff options
author | Alan Modra <amodra@gmail.com> | 2017-01-04 23:47:07 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-01-05 00:03:07 +1030 |
commit | e495212d229d58eb4d70c94d7f828a04c386c3b2 (patch) | |
tree | 0c2f7c89f1388662be01e6692aec212517e7c699 /libiberty/cp-demangle.c | |
parent | 0913ae5ad7ad465e36784ed7fcc8676f3e0e23b7 (diff) | |
download | binutils-e495212d229d58eb4d70c94d7f828a04c386c3b2.zip binutils-e495212d229d58eb4d70c94d7f828a04c386c3b2.tar.gz binutils-e495212d229d58eb4d70c94d7f828a04c386c3b2.tar.bz2 |
Sync libiberty from gcc
Picks up copyright year update and other recent fixes.
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r-- | libiberty/cp-demangle.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c index 4671bc2..15ef3b4 100644 --- a/libiberty/cp-demangle.c +++ b/libiberty/cp-demangle.c @@ -1,6 +1,5 @@ /* Demangler for g++ V3 ABI. - Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2014 - Free Software Foundation, Inc. + Copyright (C) 2003-2017 Free Software Foundation, Inc. Written by Ian Lance Taylor <ian@wasabisystems.com>. This file is part of the libiberty library, which is part of GCC. @@ -2593,7 +2592,11 @@ cplus_demangle_type (struct d_info *di) /* auto */ ret = d_make_name (di, "auto", 4); break; - + case 'c': + /* decltype(auto) */ + ret = d_make_name (di, "decltype(auto)", 14); + break; + case 'f': /* 32-bit decimal floating point */ ret = d_make_builtin_type (di, &cplus_demangle_builtin_types[26]); @@ -4568,7 +4571,7 @@ d_maybe_print_fold_expression (struct d_print_info *dpi, int options, static void d_print_comp_inner (struct d_print_info *dpi, int options, - const struct demangle_component *dc) + const struct demangle_component *dc) { /* Magic variable to let reference smashing skip over the next modifier without needing to modify *dc. */ |