cp-tree.def (IF_STMT): Add an extra operand.
authorNathan Froyd <froydnj@codesourcery.com>
Thu, 14 Apr 2011 17:05:58 +0000 (17:05 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Thu, 14 Apr 2011 17:05:58 +0000 (17:05 +0000)
commit545f261bef70b517ea65b5a827444c41b4bba4cd
tree7c7aa65beb4d0df425539a4692a35ce53f77da3b
parent40e71fc77f174631af4978c9e3a5d949ecb9104a
cp-tree.def (IF_STMT): Add an extra operand.

* cp-tree.def (IF_STMT): Add an extra operand.
* cp-objcp-common.c (cp_common_init_ts): Mark it as TS_TYPED.
* cp-tree.h (IF_SCOPE): Define.
* semantics.c (begin_if_stmt): Pass scope to build_stmt.
(finish_if_stmt): Use IF_SCOPE instead of TREE_CHAIN.

From-SVN: r172437
gcc/cp/ChangeLog
gcc/cp/cp-objcp-common.c
gcc/cp/cp-tree.def
gcc/cp/cp-tree.h
gcc/cp/semantics.c