Make comp_ptr_ttypes_real return bool.
authorMarek Polacek <polacek@redhat.com>
Thu, 10 Oct 2019 14:37:36 +0000 (14:37 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 10 Oct 2019 14:37:36 +0000 (14:37 +0000)
commit73dc68b9226a262bd193fb15592d378dd9768822
tree7927a73cd56632165a5a256565665452f24af3d4
parent247afa98ba2512c7d90f3e9e05af41067ef756a3
Make comp_ptr_ttypes_real return bool.

comp_ptr_ttypes_real could use bool instead of int since it only returns
0 or 1.

* typeck.c (comp_ptr_ttypes_real): Change the return type to bool.
Use false instead of 0.

From-SVN: r276808
gcc/cp/ChangeLog
gcc/cp/typeck.c