]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/pt.c
cp-tree.h (EXPR_STMT_ASSIGNS_THIS): New macro.
authorMark Mitchell <mark@codesourcery.com>
Thu, 9 Sep 1999 23:24:34 +0000 (23:24 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 9 Sep 1999 23:24:34 +0000 (23:24 +0000)
commita7e4cfa0173956cb8d8f69c9c120cc97c847dce1
treeb4fbf98bc15df13a05c3c62243c777017b11dd9a
parent3b71623bf39b0934ee76d0223130de7dd6a44509
cp-tree.h (EXPR_STMT_ASSIGNS_THIS): New macro.

* 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.

From-SVN: r29249
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/cp/semantics.c
This page took 0.051181 seconds and 5 git commands to generate.