]> git.ipfire.org Git - thirdparty/gcc.git/commit
Make comp_ptr_ttypes_real return bool.
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Oct 2019 14:37:36 +0000 (14:37 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Oct 2019 14:37:36 +0000 (14:37 +0000)
commitc1ec545034ccb7cb3ef74a13e5656db5076c9687
tree7927a73cd56632165a5a256565665452f24af3d4
parent186b1f57c4bac4b198c011858e335273c9192860
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.

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