aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2010-06-17 17:26:28 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2010-06-17 17:26:28 +0000
commitbfdb7b700a3ff86230205f9d5d641fb480387d1d (patch)
tree2a8dc87125235ab53b2b22e782700dd34010cb61 /gcc/tree.h
parent3a6206615ecc75936dfa4f548a9cdd8597173c4b (diff)
downloadgcc-bfdb7b700a3ff86230205f9d5d641fb480387d1d.zip
gcc-bfdb7b700a3ff86230205f9d5d641fb480387d1d.tar.gz
gcc-bfdb7b700a3ff86230205f9d5d641fb480387d1d.tar.bz2
tree.h (vec_member): Declare.
gcc/ * tree.h (vec_member): Declare. * tree.c (vec_member): Define. gcc/cp/ * name-lookup.c (struct arg_lookup): Convert namespaces and classes fields to VEC. (arg_assoc_namespace): Adjust for new type of namespaces. (arg_assoc_class): Adjust for new type of classes. (lookup_arg_dependent): Use make_tree_vector and release_tree_vector. * typeck2.c (build_x_arrow): Use vec_member. From-SVN: r160936
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 1a2ac3a..0d8eefa 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -4094,6 +4094,7 @@ extern bool range_in_array_bounds_p (tree);
extern tree value_member (tree, tree);
extern tree purpose_member (const_tree, tree);
+extern bool vec_member (const_tree, VEC(tree,gc) *);
extern tree chain_index (int, tree);
extern int attribute_list_equal (const_tree, const_tree);