]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/decl.c
cp-tree.h (lang_decl_flags): Rename defined_in_class to initialized_in_class.
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 8 Jan 2001 14:41:03 +0000 (14:41 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 8 Jan 2001 14:41:03 +0000 (14:41 +0000)
commit3febd12318b0cdef645012bbce9cf85e4e4d80ed
tree6242c447972eef004491d7ec8e6c5786e021a632
parentc7861455c823513906045e3214f7f8d7f44e2276
cp-tree.h (lang_decl_flags): Rename defined_in_class to initialized_in_class.

cp:
* cp-tree.h (lang_decl_flags): Rename defined_in_class to
initialized_in_class.
(DECL_DEFINED_IN_CLASS_P): Rename to ...
(DECL_INITIALIZED_IN_CLASS_P): ... here, to reflect true meaning.
* decl.c (duplicate_decls): Preseve DECL_INITIALIZED_IN_CLASS_P.
(cp_finish_decl): Adjust for DECL_INITIALIZED_IN_CLASS_P.
* pt.c (check_default_tmpl_args): Adjust for
DECL_INITIALIZED_IN_CLASS_P.
(instantiate_class_template): Likewise.
(instantiate_decl): Check DECL_INITIALIZED_IN_CLASS_P.

* class.c (finish_struct): Constify saved_filename.
testsuite:
* g++.old_deja/g++.pt/instantiate12.C: New test.

From-SVN: r38801
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.pt/instantiate12.C [new file with mode: 0644]
This page took 0.058482 seconds and 5 git commands to generate.