summaryrefslogtreecommitdiff
path: root/gcc/cp/decl2.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-08 18:12:54 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-08 18:12:54 +0000
commitd6eb041aa32a57bbe311486731430b0d470d2ca9 (patch)
tree7bb5359fee295e5589c1461fade96c9624ea09b7 /gcc/cp/decl2.c
parent96e0afdeb86fd4283991dd5f934cbb7d67562627 (diff)
downloadgcc-d6eb041aa32a57bbe311486731430b0d470d2ca9.tar.gz
* cp-tree.h (enum overload_flags): Remove OP_FLAG.
* method.c (lazily_declare_fn): Check for dtorness in ABI warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151528 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r--gcc/cp/decl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index cc4317aa7b4..e57c825c94f 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -254,7 +254,7 @@ maybe_retrofit_in_chrg (tree fn)
FUNCTION is a FUNCTION_DECL. It was created by `grokdeclarator'.
FLAGS contains bits saying what's special about today's
- arguments. 1 == DESTRUCTOR. 2 == OPERATOR.
+ arguments. DTOR_FLAG == DESTRUCTOR.
If FUNCTION is a destructor, then we must add the `auto-delete' field
as a second parameter. There is some hair associated with the fact