* c-typeck.c (lvalue_p): Use true and false instead of 1 and 0.
From-SVN: r240185
This commit is contained in:
parent
4561967700
commit
5b73d2ab55
@ -1,3 +1,7 @@
|
||||
2016-09-16 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
* c-typeck.c (lvalue_p): Use true and false instead of 1 and 0.
|
||||
|
||||
2016-09-14 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
* c-array-notation.c (create_cmp_incr): Use false instead of 0.
|
||||
|
@ -4631,7 +4631,7 @@ lvalue_p (const_tree ref)
|
||||
|
||||
case COMPOUND_LITERAL_EXPR:
|
||||
case STRING_CST:
|
||||
return 1;
|
||||
return true;
|
||||
|
||||
case INDIRECT_REF:
|
||||
case ARRAY_REF:
|
||||
@ -4647,7 +4647,7 @@ lvalue_p (const_tree ref)
|
||||
return TREE_CODE (TREE_TYPE (ref)) == ARRAY_TYPE;
|
||||
|
||||
default:
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user