]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ChangeLog
tree.h (TYPE_FINAL_P, [...]): New macros.
authorJan Hubicka <jh@suse.cz>
Sun, 25 Aug 2013 09:43:34 +0000 (11:43 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 25 Aug 2013 09:43:34 +0000 (09:43 +0000)
commit5b1e7435771231fbc8b3fcd0ca2b85275889ac52
tree07e2304f79df66dbf9a31e2877013e03804fd9e7
parent0691175fe28c07b0dd6f619bbb9a20a0e1f055b7
tree.h (TYPE_FINAL_P, [...]): New macros.

* tree.h (TYPE_FINAL_P, DECL_FINAL_P): New macros.
(tree_decl_with_vis): Add FINAL field.

* cp-tree.h (struct lang_type_class): Free is_final bit.
(CLASSTYPE_FINAL): Define using TYPE_FINAL_P.
(DECL_FINAL_P): Remove.
* pt.c (instantiate_class_template_1): Guard that CLASSTYPE_FINAL
is called on CLASS_TYPE_P.

From-SVN: r201975
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/tree.h