c-common.c (self_promoting_args_p): Change the return type to bool.
authorMarek Polacek <polacek@redhat.com>
Thu, 18 May 2017 10:55:59 +0000 (10:55 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 18 May 2017 10:55:59 +0000 (10:55 +0000)
commite3455240edf5c8fa4ee4ee73219b35ce1265b076
treeb1e8c78c93b3e808826efcfce13bb407c2bb95b8
parent59a4ede94fed26e12efabde29d5d25a50f3ec59b
c-common.c (self_promoting_args_p): Change the return type to bool.

* c-common.c (self_promoting_args_p): Change the return type to bool.
Use false/true instead of 0/1.
* c-common.h (self_promoting_args_p): Update.

* c-decl.c (start_decl): Use false/true instead of 0/1.
(grokdeclarator): Likewise.
(finish_struct): Likewise.
(start_function): Change the return type to bool.  Use false/true
instead of 0/1.
(declspecs_add_qual): Use UNKNOWN_LOCATION instead of 0.
* c-tree.h (start_function): Update.
* c-typeck.c (same_translation_unit_p): Change the return type to bool.
(set_designator): Change the return type to bool.  Use false/true
instead of 0/1.

From-SVN: r248192
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/c-family/c-common.h
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/c/c-tree.h
gcc/c/c-typeck.c