cp-tree.h (make_ptrmem_cst): New function.
authorMark Mitchell <mark@codesourcery.com>
Thu, 20 May 1999 10:44:47 +0000 (10:44 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 20 May 1999 10:44:47 +0000 (10:44 +0000)
commit87533b37c7f8d54d0dad71d1a44a541d5ff36587
tree3cf5566ec06f2dc7cde61acc0794f3a26018176d
parente697e20a892668e5a9189980193e23412a0cc221
cp-tree.h (make_ptrmem_cst): New function.

* cp-tree.h (make_ptrmem_cst): New function.
* expr.c (cplus_expand_constant): Split out from ...
(cplus_expand_expr): Here.  Use cplus_expand_constant.
(init_cplus_expand): Set lang_expand_constant.
* pt.c (convert_nontype_argument): Use make_ptrmem_cst.
* tree.c (make_ptrmem_cst): Define.
* typeck.c (unary_complex_lvalue): Use make_ptrmem_cst.
* typeck2.c (initializer_constant_valid_p): Use make_ptrmem_cst.

From-SVN: r27060
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/expr.c
gcc/cp/pt.c
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/cp/typeck2.c