OSDN Git Service

c-family:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Dec 2011 10:02:45 +0000 (10:02 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Dec 2011 10:02:45 +0000 (10:02 +0000)
commitaa4313ebb01ea82f6c62cc08dfa221d980b6bf1d
treeb5ec06214bfe64f832b32feca5392a5e7503ad08
parente437596b5831f5056e04c1679f5667bfb6f947e6
c-family:
PR libstdc++/51365
* c-common.c (RID_IS_FINAL): Add.
* c-common.h (RID_IS_FINAL): Add.
cp:
PR libstdc++/51365
* cp-tree.h (CPTK_IS_FINAL): Add.
* parser.c (cp_parser_translation_unit): Handle RID_IS_FINAL.
(cp_parser_primary_expression, cp_parser_trait_expr): Likewise.
* semantics.c (trait_expr_value, finish_trait_expr): Handle
CPTK_IS_FINAL.
* cxx-pretty-print.c (pp_cxx_trait_expression): Likewise.
testsuite:
PR libstdc++/51365
* g++.dg/ext/is_final.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182360 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/c-family/c-common.h
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/cxx-pretty-print.c
gcc/cp/parser.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/is_final.C [new file with mode: 0644]