* tree.h (TYPE_FINAL_P, DECL_FINAL_P): New macros.
commit585bb3564e82fbb72f5e2122633a7dada2008519
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Aug 2013 09:43:34 +0000 (25 09:43 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Aug 2013 09:43:34 +0000 (25 09:43 +0000)
tree07e2304f79df66dbf9a31e2877013e03804fd9e7
parent08e3e481a72d110c4a59d43d1a2945e5017282cf
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201975 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/tree.h