OSDN Git Service

* c-common.c (lvalue_or_else): Replace by lvalue_error; only give
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Mar 2005 02:22:08 +0000 (02:22 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Mar 2005 02:22:08 +0000 (02:22 +0000)
commite35976b114cde73f3131da32a9bbbc6da1b13eb8
tree4f046755cca3d6be85f4cf05610ef5313e865404
parentb859c0f1ddca305e49affed122053aad04f8728d
* c-common.c (lvalue_or_else): Replace by lvalue_error; only give
diagnostic without checking whether an lvalue.
* c-common.h (lvalue_p): Remove.
(enum lvalue_use): Update comment.
(lvalue_or_else): Replace by lvalue_error.
* c-typeck.c (lvalue_p): Make static.
(lvalue_or_else): New.  Call lvalue_error.

cp:
* cp-tree.h (lvalue_or_else, lvalue_p): New.
* typeck.c (lvalue_or_else): New.  Call lvalue_error.

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