From 5679b7b33dbf50a18c5ec8e2803fd269ac953671 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 31 Jan 2003 14:09:57 +0000 Subject: [PATCH] converted comments to doxygen [r703] --- ir/adt/host.h | 10 +++++----- ir/ana/irdom_t.h | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ir/adt/host.h b/ir/adt/host.h index 3272c59e8..4faa6bc55 100644 --- a/ir/adt/host.h +++ b/ir/adt/host.h @@ -10,11 +10,11 @@ #include -/* A size handled efficiently by malloc(), at least 1K. */ +/** A size handled efficiently by malloc(), at least 1K. */ #define PREF_MALLOC_SIZE 2048 -/* GNU C's __attribute__ */ +/** A wrapper around GNU C's __attribute__ */ /* According to the documentation, the attributes we are interested in work with 2.5, but we encountered trouble before 2.7. */ @@ -28,21 +28,21 @@ /* Alignment */ -/* A type that has most constrained alignment. */ +/** A type that has most constrained alignment. */ typedef union { long double d; void *p; long l; } aligned_type ATTRIBUTE ((aligned)); -/* Inquiring about the alignment. */ +/** Inquiring about the alignment of a type. */ #ifdef __GNUC__ # define ALIGNOF(type) __alignof__ (type) #else # define ALIGNOF(type) offsetof (struct { char c; type d; }, d) #endif -/* Maximal alignment required for any type. */ +/** Maximal alignment required for any type. */ #define MAX_ALIGN ALIGNOF (aligned_type) #endif diff --git a/ir/ana/irdom_t.h b/ir/ana/irdom_t.h index fa8a0f1af..4ae7dd213 100644 --- a/ir/ana/irdom_t.h +++ b/ir/ana/irdom_t.h @@ -13,11 +13,11 @@ #include "irdom.h" -/* For dominator information */ +/** For dominator information */ typedef struct dom_info { - struct ir_node *idom; /* immediate CFG dominator */ - int pre_num; /* pre-order graph-walk number */ - int dom_depth; /* depth in dominator-tree */ + struct ir_node *idom; /**< immediate CFG dominator */ + int pre_num; /**< pre-order graph-walk number */ + int dom_depth; /**< depth in dominator-tree */ } dom_info; #endif /* _IRDOM_T_H_ */ -- 2.20.1