* cp-tree.h (EXPR_STMT_ASSIGNS_THIS): New macro.
commit7f82630509c638c7f9a914b072e1d3a1037dc799
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Sep 1999 23:24:34 +0000 (9 23:24 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Sep 1999 23:24:34 +0000 (9 23:24 +0000)
treeb4fbf98bc15df13a05c3c62243c777017b11dd9a
parentc3613817b4331cd3620bbfe27acd8749f07c9433
* cp-tree.h (EXPR_STMT_ASSIGNS_THIS): New macro.
(STMT_IS_FULL_EXPR_P): Likewise.
(STMT_LINENO_FOR_FN_P): Likewise.
(prep_stmt): New function.
(building_stmt_tree): Tweak for safety.
* pt.c (tsubst_expr): Use prep_stmt throughout.
(add_tree): Move it to semantics.c
* semantics.c (add_tree): Move it here.
(finish_expr_stmt_real): New function.
(finish_expr_stmt): Use it.
(finish_if_stmt_cond): Use FINISH_COND.
(finish_while_stmt_cond): Likewise.
(finish_for_cond): Likewise.
(finish_stmt_tree): Tweak line-number handling.
(prep_stmt): New function.
(expand_stmt): Use it.

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