aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2015-05-24 06:22:35 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2015-05-24 04:22:35 +0000
commit66f0bbd50c8cb13422f8cb60eb1a1077972c58cb (patch)
tree2219295672a4ad959f01c9099b49dad6fa53d9c6 /gcc/tree.h
parent0e5f14d42027a66519fc8129c7632608783eeaeb (diff)
downloadgcc-66f0bbd50c8cb13422f8cb60eb1a1077972c58cb.zip
gcc-66f0bbd50c8cb13422f8cb60eb1a1077972c58cb.tar.gz
gcc-66f0bbd50c8cb13422f8cb60eb1a1077972c58cb.tar.bz2
tree.c (prototype_p, [...]): Constify.
* tree.c (prototype_p, virtual_method_call_p, obj_type_ref_class, is_typedef_decl, typedef_variant_p): Constify. * tree.h (prototype_p, virtual_method_call_p, obj_type_ref_class, is_typedef_decl, typedef_variant_p): Constify. From-SVN: r223628
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 0b7b523..1957dc5 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -4375,9 +4375,9 @@ extern int operand_equal_for_phi_arg_p (const_tree, const_tree);
extern tree create_artificial_label (location_t);
extern const char *get_name (tree);
extern bool stdarg_p (const_tree);
-extern bool prototype_p (tree);
-extern bool is_typedef_decl (tree x);
-extern bool typedef_variant_p (tree);
+extern bool prototype_p (const_tree);
+extern bool is_typedef_decl (const_tree x);
+extern bool typedef_variant_p (const_tree);
extern bool auto_var_in_fn_p (const_tree, const_tree);
extern tree build_low_bits_mask (tree, unsigned);
extern bool tree_nop_conversion_p (const_tree, const_tree);
@@ -4544,8 +4544,8 @@ extern location_t *block_nonartificial_location (tree);
extern location_t tree_nonartificial_location (tree);
extern tree block_ultimate_origin (const_tree);
extern tree get_binfo_at_offset (tree, HOST_WIDE_INT, tree);
-extern bool virtual_method_call_p (tree);
-extern tree obj_type_ref_class (tree ref);
+extern bool virtual_method_call_p (const_tree);
+extern tree obj_type_ref_class (const_tree ref);
extern bool types_same_for_odr (const_tree type1, const_tree type2,
bool strict=false);
extern bool contains_bitfld_component_ref_p (const_tree);