isl_ast_graft_free: return isl_ast_graft * instead of void *
commit9ca5fc86a100303f29953d1b63f3de3490ebfec2
authorTobias Grosser <tobias@grosser.es>
Wed, 30 May 2018 06:07:44 +0000 (30 08:07 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Wed, 30 May 2018 21:32:35 +0000 (30 23:32 +0200)
tree767659a29cf3bf7bbc8e5eb35cede5543e972452
parente0397548196454230b3e2f671cae1ef0fddbac07
isl_ast_graft_free: return isl_ast_graft * instead of void *

While the currently returned void pointer is automatically converted
to "isl_ast_graft *" where needed, it is both clearer and more in
line with other isl functions to return a pointer to the type of the
object that is freed. This allows analysis tools to catch bugs where the
return type is implicitly converted to a different type.

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
isl_ast_graft.c
isl_ast_graft_private.h