From 39cf7372c98d61844be2fcd391f4050df1df6758 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Wed, 23 Feb 2005 16:55:16 +0000 Subject: [PATCH] comment [r5214] --- ir/tr/typewalk.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) 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); -- 2.20.1