From: Matthias Braun Date: Mon, 21 Dec 2009 18:40:30 +0000 (+0000) Subject: no unnecessary comments behind #include X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=60a271b605cd365033e0a4df54f3cc53ac831957;p=libfirm no unnecessary comments behind #include [r26828] --- diff --git a/ir/ana/irdom.c b/ir/ana/irdom.c index f485c9ca0..1dee09df4 100644 --- a/ir/ana/irdom.c +++ b/ir/ana/irdom.c @@ -33,7 +33,7 @@ #include "xmalloc.h" #include "irgwalk.h" #include "irdom_t.h" -#include "irgraph_t.h" /* To access state field. */ +#include "irgraph_t.h" #include "irnode_t.h" #include "ircons_t.h" #include "array_t.h" diff --git a/ir/ana/irtypeinfo.c b/ir/ana/irtypeinfo.c index 867e43be2..4c20305b1 100644 --- a/ir/ana/irtypeinfo.c +++ b/ir/ana/irtypeinfo.c @@ -41,7 +41,7 @@ #include -#include "irgraph_t.h" /* for setting the state flag. */ +#include "irgraph_t.h" #include "irprog_t.h" #include "irnode_t.h" #include "pmap.h" diff --git a/ir/be/ppc32/bearch_ppc32.c b/ir/be/ppc32/bearch_ppc32.c index 2000bcb7a..06cced8fc 100644 --- a/ir/be/ppc32/bearch_ppc32.c +++ b/ir/be/ppc32/bearch_ppc32.c @@ -37,7 +37,7 @@ #include "debug.h" #include "error.h" -#include "../bearch.h" /* the general register allocator interface */ +#include "../bearch.h" #include "../benode.h" #include "../belower.h" #include "../besched.h" @@ -55,8 +55,8 @@ #include "bearch_ppc32_t.h" -#include "ppc32_new_nodes.h" /* ppc nodes interface */ -#include "gen_ppc32_regalloc_if.h" /* the generated interface (register type and class defenitions) */ +#include "ppc32_new_nodes.h" +#include "gen_ppc32_regalloc_if.h" #include "ppc32_transform.h" #include "ppc32_transform_conv.h" #include "ppc32_emitter.h" diff --git a/ir/be/ppc32/ppc32_transform_conv.c b/ir/be/ppc32/ppc32_transform_conv.c index 8c820be3f..ba10cfef8 100644 --- a/ir/be/ppc32/ppc32_transform_conv.c +++ b/ir/be/ppc32/ppc32_transform_conv.c @@ -41,7 +41,6 @@ #include "bearch_ppc32_t.h" #include "ppc32_nodes_attr.h" -//#include "../arch/archop.h" /* we need this for Min and Max nodes */ #include "ppc32_transform_conv.h" #include "ppc32_transform.h" #include "ppc32_new_nodes.h" diff --git a/ir/ir/irgwalk_blk.c b/ir/ir/irgwalk_blk.c index 758c8111c..3d87db986 100644 --- a/ir/ir/irgwalk_blk.c +++ b/ir/ir/irgwalk_blk.c @@ -26,7 +26,7 @@ #include "config.h" #include "irnode_t.h" -#include "irgraph_t.h" /* visited flag */ +#include "irgraph_t.h" #include "irgwalk.h" #include "pset.h" #include "irhooks.h" diff --git a/ir/ir/irop.c b/ir/ir/irop.c index 84c14706f..82950692f 100644 --- a/ir/ir/irop.c +++ b/ir/ir/irop.c @@ -32,7 +32,7 @@ #include "irhooks.h" #include "irbackedge_t.h" -#include "iropt_t.h" /* for firm_set_default_operations */ +#include "iropt_t.h" #include "irvrfy_t.h" #include "reassoc_t.h" diff --git a/ir/obstack/obstack.c b/ir/obstack/obstack.c index 6d11674f1..4f091ffc7 100644 --- a/ir/obstack/obstack.c +++ b/ir/obstack/obstack.c @@ -26,7 +26,7 @@ longer properly call the functions in this obstack.c. */ #define OBSTACK_INTERFACE_VERSION 1 -#include /* Random thing to get __GNU_LIBRARY__. */ +#include #include #include diff --git a/ir/obstack_win/obstack.c b/ir/obstack_win/obstack.c index 2c82bf86b..de6b13693 100644 --- a/ir/obstack_win/obstack.c +++ b/ir/obstack_win/obstack.c @@ -39,7 +39,8 @@ program understand `configure --with-gnu-libc' and omit the object files, it is simpler to just do this in the source for each such file. */ -#include /* Random thing to get __GNU_LIBRARY__. */ +/* Random thing to get __GNU_LIBRARY__. */ +#include #if !defined (_LIBC) && defined (__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1 #include #if _GNU_OBSTACK_INTERFACE_VERSION == OBSTACK_INTERFACE_VERSION diff --git a/ir/tr/trvrfy.c b/ir/tr/trvrfy.c index 301ea9a90..aac293587 100644 --- a/ir/tr/trvrfy.c +++ b/ir/tr/trvrfy.c @@ -26,8 +26,7 @@ */ #include "config.h" -#include "irgraph_t.h" /* for checking whether constant code is allocated - on proper obstack */ +#include "irgraph_t.h" #include "irflag_t.h" #include "irprintf.h" #include "irgwalk.h" diff --git a/ir/tv/strcalc.c b/ir/tv/strcalc.c index 804a071c4..aed82e1d4 100644 --- a/ir/tv/strcalc.c +++ b/ir/tv/strcalc.c @@ -24,14 +24,13 @@ * @author Mathias Heil * @version $Id$ */ - #include "config.h" #include -#include /* memset/memcmp */ -#include /* assertions */ -#include /* output for error messages */ -#include /* definition of LONG_MIN, used in sc_get_val_from_long */ +#include +#include +#include +#include #include "strcalc.h" #include "xmalloc.h" diff --git a/ir/tv/tv.c b/ir/tv/tv.c index 1892f6f7b..36487127c 100644 --- a/ir/tv/tv.c +++ b/ir/tv/tv.c @@ -33,19 +33,19 @@ */ #include "config.h" -#include /* assertions */ -#include /* atoi() */ +#include +#include #include #ifdef HAVE_STRINGS_H -#include /* strings.h also includes bsd only function strcasecmp */ +#include #endif #include #include "tv_t.h" -#include "set.h" /* to store tarvals in */ -#include "entity_t.h" /* needed to store pointers to entities */ +#include "set.h" +#include "entity_t.h" #include "irmode_t.h" -#include "irnode.h" /* defines boolean return values (pnc_number)*/ +#include "irnode.h" #include "strcalc.h" #include "fltcalc.h" #include "irtools.h"