c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h.
authorZack Weinberg <zack@gcc.gnu.org>
Fri, 10 Sep 2004 23:56:31 +0000 (23:56 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Fri, 10 Sep 2004 23:56:31 +0000 (23:56 +0000)
commit5d709b0013a3d180de93f3349233637c281215b2
tree3e13669d72ea210ff0fa0fd5c941453f47b0432e
parent616aeba2bb37e55c24cc65a861e12c08e18e3943
c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h.

* c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h.
(extract_interface_info): Delete prototype.
* c-decl.c (extract_interface_info): Delete stub.
* c-lex.c (get_fileinfo): Initialize file_info_tree here, if
it's not already been done ...
(init_c_lex): ... not here.
(fe_file_change): Don't call extract_interface_info.
cp:
* cp-tree.h (interface_only, interface_unknown): Delete declarations;
comment explaining them moved to c-common.h.
* lex.c (interface_only, interface_unknown, extract_interface_info):
Delete definitions.
(cxx_finish): Don't reset interface_unknown.
(handle_pragma_interface): Don't set interface_only and
interface_unknown; just the like-named fields in finfo.
(handle_pragma_implementation): Adjust comment.
* decl2.c (cp_finish_file): Don't reset interface_only and
interface_unknown.
* method.c (synthesize_method): Don't reset interface_unknown or
call extract_interface_info.
* pt.c (pop_tinst_level): Don't call extract_interface_info.
* decl.c (start_cleanup_fn): Don't save or restore interface_only
and interface_unknown.
(make_rtl_for_nonlocal_decl): Call get_fileinfo on input_filename
and use the result instead of the interface_only/interface_unknown
globals.
(start_preparsed_function): Likewise.
* lex.c (cxx_make_type): Likewise.
* semantics.c (begin_class_definition): Likewise.
(expand_body): Don't call extract_interface_info.

From-SVN: r87329
12 files changed:
gcc/ChangeLog
gcc/c-common.h
gcc/c-decl.c
gcc/c-lex.c
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/lex.c
gcc/cp/method.c
gcc/cp/pt.c
gcc/cp/semantics.c