From: Götz Lindenmaier Date: Wed, 23 Feb 2005 16:55:16 +0000 (+0000) Subject: comment X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=39cf7372c98d61844be2fcd391f4050df1df6758;p=libfirm comment [r5214] --- diff --git a/ir/tr/typewalk.h b/ir/tr/typewalk.h index cbdef1381..589eaec45 100644 --- a/ir/tr/typewalk.h +++ b/ir/tr/typewalk.h @@ -76,12 +76,18 @@ void type_walk_super2sub(type_walk_func *pre, type_walk_func *post, void *env); -/** - Touches every class in specified order: - - first the super class - - second the class itself - If new classes are created during the traversal these - will be visited, too. */ +/** Walker for class types in inheritance order. + * + * Touches every class in specified order: + * - first the super class + * - second the class itself + * If new classes are created during the traversal these + * will be visited, too. + * Starts the walk at arbitrary classes. + * Executes pre when first visiting a class. Executes post after + * visiting all superclasses. + * + * The arguments pre, post, env may be NULL. */ void type_walk_super(type_walk_func *pre, type_walk_func *post, void *env);