isl_union_*_set_has_dim: rename to isl_union_*_set_has_space
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 6 Sep 2016 12:37:26 +0000 (6 14:37 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Wed, 22 Aug 2018 08:17:02 +0000 (22 10:17 +0200)
Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
isl_union_templ.c

index ac1902e..7d5ccad 100644 (file)
@@ -673,7 +673,7 @@ S(UNION,match_domain_data) {
        __isl_give PW *(*fn)(__isl_take PW*, __isl_take isl_set*);
 };
 
-static int FN(UNION,set_has_dim)(const void *entry, const void *val)
+static int FN(UNION,set_has_space)(const void *entry, const void *val)
 {
        isl_set *set = (isl_set *)entry;
        isl_space *space = (isl_space *)val;
@@ -695,7 +695,7 @@ static isl_stat FN(UNION,match_domain_entry)(__isl_take PART *part, void *user)
        space = FN(PART,get_domain_space)(part);
        hash = isl_space_get_hash(space);
        entry2 = isl_hash_table_find(data->uset->dim->ctx, &data->uset->table,
-                                    hash, &FN(UNION,set_has_dim), space, 0);
+                                    hash, &FN(UNION,set_has_space), space, 0);
        isl_space_free(space);
        if (!entry2) {
                FN(PART,free)(part);