Commit 5b73d2ab by Marek Polacek Committed by Marek Polacek

* c-typeck.c (lvalue_p): Use true and false instead of 1 and 0.

From-SVN: r240185
parent 45619677
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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment