OSDN Git Service

* cp-tree.def (SWITCH_STMT): Add an extra operand.
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Apr 2011 18:42:44 +0000 (18:42 +0000)
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Apr 2011 18:42:44 +0000 (18:42 +0000)
commit1f919c5064a4ac5ee091b3c9bef532692a0f484e
treeaab9b46e5f5c409f2bcbeafb4770c9025917ebf6
parentf6c740545f3fd2c15b4ce8272794596c5ca842a7
* cp-tree.def (SWITCH_STMT): Add an extra operand.
* cp-objcp-common.c (cp_common_init_ts): Mark it as TS_TYPED.
* cp-tree.h (SWITCH_STMT_SCOPE): Define.
* semantics.c (begin_switch__stmt): Pass scope to build_stmt.
(finish_switch_stmt): Use SWITCH_STMT_SCOPE instead of TREE_CHAIN.

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