]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/semantics.c
decl.c (lookup_name_real): Also do implicit typename thing for artificial TYPE_DECLs.
authorJason Merrill <jason@yorick.cygnus.com>
Tue, 1 Sep 1998 11:51:41 +0000 (11:51 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 1 Sep 1998 11:51:41 +0000 (07:51 -0400)
commit830fcda8e7190213c80fb26c43c12e0c8e999a15
tree400b9f9fd8b41251123a9243ffd11612ec74dd55
parent3d6ed3ef45722af4d8a53928ac429a4a95c774ed
decl.c (lookup_name_real): Also do implicit typename thing for artificial TYPE_DECLs.

* decl.c (lookup_name_real): Also do implicit typename thing for
artificial TYPE_DECLs.
* search.c (lookup_field): Likewise.
(lookup_fnfields, lookup_field): Adjust for implicit typename kludge.
* semantics.c (begin_constructor_declarator): Use enter_scope_of.
(enter_scope_of): Extract type from implicit typename.
(begin_class_definition): Likewise.
* lex.c (identifier_type): Handle implicit typename when checking
for SELFNAME.
* cp-tree.h: Declare flag_strict_prototype.
* lex.c (do_scoped_id, do_identifier): Don't implicitly_declare if
-fstrict-prototype.
* decl.c (init_decl_processing): If -f{no,-}strict-prototype wasn't
specified, set it to the value of pedantic.

From-SVN: r22158
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/except.c
gcc/cp/lang-options.h
gcc/cp/lex.c
gcc/cp/pt.c
gcc/cp/search.c
gcc/cp/semantics.c