diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-02 03:19:22 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-02 03:19:22 +0000 |
commit | 74c75ba5c70109ae220067af73483e60e4f967a2 (patch) | |
tree | 8a402d57cf27037db16d46abdc1f0c6a8166faac /gcc/cp/operators.def | |
parent | 0cf2d315051129700068eae8bcd632aa832c4219 (diff) | |
download | gcc-74c75ba5c70109ae220067af73483e60e4f967a2.tar.gz |
PR c++/7112
* g++.dg/template/sizeof2.C: New test.
PR c++/7112
* mangle.c (write_expression): Add mangling for sizeof when
applied to a type.
* operators.def: Remove stale comment.
* cp-demangle.c (demangle_operator_name): Add type_arg parameter.
Set it for the "st" operator.
(demangle_expression): Handle expressions with types as arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55169 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/operators.def')
-rw-r--r-- | gcc/cp/operators.def | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/cp/operators.def b/gcc/cp/operators.def index 775f59db052..85043803f4d 100644 --- a/gcc/cp/operators.def +++ b/gcc/cp/operators.def @@ -5,7 +5,7 @@ non-overloadable operators (like the `?:' ternary operator). Writtey by Mark Mitchell <mark@codesourcery.com> - Copyright (C) 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -46,10 +46,6 @@ Boston, MA 02111-1307, USA. */ mangled under the new ABI. For `operator +', for example, this would be "pl". - OLD_MANGLING - - Analogous, but for the old ABI. - ARITY The arity of the operator, or -1 if any arity is allowed. (As |