diff options
author | DJ Delorie <dj@redhat.com> | 2003-11-21 22:01:27 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2003-11-21 22:01:27 +0000 |
commit | 54a962d927a5b682dbe80142a2bfb1469d31e111 (patch) | |
tree | 2aabc1ed536f7cd69b0a94eec048afa38deee1e7 /libiberty/cp-demangle.c | |
parent | 3a3da38cb074f49dd121ff033281eb9f2a126079 (diff) | |
download | gdb-54a962d927a5b682dbe80142a2bfb1469d31e111.zip gdb-54a962d927a5b682dbe80142a2bfb1469d31e111.tar.gz gdb-54a962d927a5b682dbe80142a2bfb1469d31e111.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r-- | libiberty/cp-demangle.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c index 6a2b311..e442519 100644 --- a/libiberty/cp-demangle.c +++ b/libiberty/cp-demangle.c @@ -908,6 +908,11 @@ has_return_type (dc) return 0; case D_COMP_TEMPLATE: return ! is_ctor_dtor_or_conversion (d_left (dc)); + case D_COMP_RESTRICT: + case D_COMP_VOLATILE: + case D_COMP_CONST: + case D_COMP_VENDOR_TYPE_QUAL: + return has_return_type (d_left (dc)); } } |