aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-tree.h
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2017-05-18 10:55:59 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2017-05-18 10:55:59 +0000
commite3455240edf5c8fa4ee4ee73219b35ce1265b076 (patch)
treeb1e8c78c93b3e808826efcfce13bb407c2bb95b8 /gcc/c/c-tree.h
parent59a4ede94fed26e12efabde29d5d25a50f3ec59b (diff)
downloadgcc-e3455240edf5c8fa4ee4ee73219b35ce1265b076.zip
gcc-e3455240edf5c8fa4ee4ee73219b35ce1265b076.tar.gz
gcc-e3455240edf5c8fa4ee4ee73219b35ce1265b076.tar.bz2
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
Diffstat (limited to 'gcc/c/c-tree.h')
-rw-r--r--gcc/c/c-tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c/c-tree.h b/gcc/c/c-tree.h
index 42172f8..17a8897 100644
--- a/gcc/c/c-tree.h
+++ b/gcc/c/c-tree.h
@@ -561,7 +561,7 @@ extern tree c_builtin_function_ext_scope (tree);
extern void shadow_tag (const struct c_declspecs *);
extern void shadow_tag_warned (const struct c_declspecs *, int);
extern tree start_enum (location_t, struct c_enum_contents *, tree);
-extern int start_function (struct c_declspecs *, struct c_declarator *, tree);
+extern bool start_function (struct c_declspecs *, struct c_declarator *, tree);
extern tree start_decl (struct c_declarator *, struct c_declspecs *, bool,
tree);
extern tree start_struct (location_t, enum tree_code, tree,
@@ -616,7 +616,7 @@ extern struct c_switch *c_switch_stack;
extern tree c_objc_common_truthvalue_conversion (location_t, tree);
extern tree require_complete_type (location_t, tree);
-extern int same_translation_unit_p (const_tree, const_tree);
+extern bool same_translation_unit_p (const_tree, const_tree);
extern int comptypes (tree, tree);
extern int comptypes_check_different_types (tree, tree, bool *);
extern bool c_vla_type_p (const_tree);