]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/c-common.c
c-common.c (lvalue_or_else): Replace by lvalue_error; only give diagnostic without...
authorJoseph Myers <joseph@codesourcery.com>
Mon, 21 Mar 2005 02:22:08 +0000 (02:22 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 21 Mar 2005 02:22:08 +0000 (02:22 +0000)
commit37dc0d8dc7248b0495b56a26ca436f3980271587
tree4f046755cca3d6be85f4cf05610ef5313e865404
parent5aff41479e6606793f74dfd9d5870eaebc267014
c-common.c (lvalue_or_else): Replace by lvalue_error; only give diagnostic without checking whether an lvalue.

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

From-SVN: r96776
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