diff options
author | Mark Mitchell <mark@markmitchell.com> | 1999-01-21 21:16:22 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-01-21 21:16:22 +0000 |
commit | 7bdbfa05dba783697d330f283a8427002667408f (patch) | |
tree | e6f14953b9b72129c669c461010c89a23823f94b /gcc/protoize.c | |
parent | 15914757c6d0717225a6d87035cb524fb06c5ac9 (diff) | |
download | gcc-7bdbfa05dba783697d330f283a8427002667408f.zip gcc-7bdbfa05dba783697d330f283a8427002667408f.tar.gz gcc-7bdbfa05dba783697d330f283a8427002667408f.tar.bz2 |
cp-tree.h (PUSH_GLOBAL): New macro.
* cp-tree.h (PUSH_GLOBAL): New macro.
(PUSH_LOCAL): Likewise.
(PUSH_USING): Likewise.
(namespace_bindings_p): Declare.
(push_overloaded_decl): Likewise.
* decl.c (push_overloaded_decl): Don't make it static. Check for
illegal declarations after using declarations here.
(namespace_bindings_p): Likewise.
(duplicate_decls): Don't consider declarations from different
namespaces to be the same.
(pushdecl): Use symbolic PUSH_ constants in calls to
push_overloaded_decl.
(push_overloaded_decl_1): Likewise.
* decl2.c (validate_nonmember_using_decl): Tweak `std' handling.
(do_nonmember_using_decl): Check for illegal using declarations
after ordinary declarations here.
(do_local_using_decl): Call pushdecl to insert declarations.
From-SVN: r24812
Diffstat (limited to 'gcc/protoize.c')
0 files changed, 0 insertions, 0 deletions