diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-03-20 00:18:24 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-03-20 00:18:24 +0000 |
commit | 4546865e5b18963ce661d5053a6b4b7b15adfe7d (patch) | |
tree | f2fd9f01f614185daf70c05007cdcde2929152b5 /gcc/cp/decl.h | |
parent | b40bc279e75da8718e7cb7cd7d7118a6adcba4cb (diff) | |
download | gcc-4546865e5b18963ce661d5053a6b4b7b15adfe7d.zip gcc-4546865e5b18963ce661d5053a6b4b7b15adfe7d.tar.gz gcc-4546865e5b18963ce661d5053a6b4b7b15adfe7d.tar.bz2 |
call.c (build_op_delete_call): Do not forget the placement arguments when iterating through mutiple delete...
* call.c (build_op_delete_call): Do not forget the placement
arguments when iterating through mutiple delete operators.
* cp-tree.h (svaed_scope): Remove last_parms.
(NEW_DELETE_OPNAME_P): New macro.
(last_function_parms): Remove.
(do_friend): Adjust prototype.
* decl.c (grokparms): Return the PARM_DECLs directly, rather than
using last_function_parms.
(grokfndecl): Take the PARM_DECLs as an argument, rather than
using last_function_parms.
(grokdeclarator): Adjust accordingly. Do not form METHOD_TYPEs
for class-specific operator new and operator delete.
(grok_op_properties): Do not look for allocation functions with
METHOD_TYPEs.
(start_function): Use DECL_ARGUMENTS instead of
last_function_parms.
* decl.h (last_function_parms): Do not declare.
* decl2.c (grokclassfn): Do not use last_function_parms.
* friend.c (do_friend): Remove parmdecls parameter.
* name-lookup.c (push_to_top_level): Do not save last_function_parms.
(pop_from_top_level): Do not restore it.
* pt.c (check_explicit_specialization): Do not adjust
last_function_parms.
* name-lookup.c (do_local_using_decl): Create a local binding for
types brought in via using declarations.
* name-lookup.c (lookup_arg_dependent): Handle block-scope
function declarations correctly.
* semantics.c (finish_id_expression): Correct handling of
conversion operators to dependent types.
* typeck.c (lookup_destructor): Allow the use of destructors from
base classes.
* g++.dg/init/placement3.C: New test.
* g++.dg/template/spec13.C: New test.
* g++.dg/lookup/using11.C: New test.
* g++.dg/lookup/koenig3.C: New test.
* g++.dg/template/operator2.C: New test.
* g++.dg/expr/dtor3.C: New test.
* g++.old-deja/g++.brendan/crash15.C: Remove incorrect dg-error
marker.
* g++.old-deja/g++.law/visibility28.C: Likewise.
From-SVN: r79722
Diffstat (limited to 'gcc/cp/decl.h')
-rw-r--r-- | gcc/cp/decl.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cp/decl.h b/gcc/cp/decl.h index 2a7a765..46a1ec8 100644 --- a/gcc/cp/decl.h +++ b/gcc/cp/decl.h @@ -33,10 +33,6 @@ enum decl_context /* We need this in here to get the decl_context definition. */ extern tree grokdeclarator (tree, tree, enum decl_context, int, tree*); -/* Parsing a function declarator leaves a list of parameter names - or a chain or parameter decls here. */ -extern GTY(()) tree last_function_parms; - #ifdef DEBUG_CP_BINDING_LEVELS /* Purely for debugging purposes. */ extern int debug_bindings_indentation; |