projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1068b78
)
no unnecessary comments behind #include
author
Matthias Braun
<matze@braunis.de>
Mon, 21 Dec 2009 18:40:30 +0000
(18:40 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 21 Dec 2009 18:40:30 +0000
(18:40 +0000)
[r26828]
ir/ana/irdom.c
patch
|
blob
|
history
ir/ana/irtypeinfo.c
patch
|
blob
|
history
ir/be/ppc32/bearch_ppc32.c
patch
|
blob
|
history
ir/be/ppc32/ppc32_transform_conv.c
patch
|
blob
|
history
ir/ir/irgwalk_blk.c
patch
|
blob
|
history
ir/ir/irop.c
patch
|
blob
|
history
ir/obstack/obstack.c
patch
|
blob
|
history
ir/obstack_win/obstack.c
patch
|
blob
|
history
ir/tr/trvrfy.c
patch
|
blob
|
history
ir/tv/strcalc.c
patch
|
blob
|
history
ir/tv/tv.c
patch
|
blob
|
history
diff --git
a/ir/ana/irdom.c
b/ir/ana/irdom.c
index
f485c9c
..
1dee09d
100644
(file)
--- 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 "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"
#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
867e43b
..
4c20305
100644
(file)
--- a/
ir/ana/irtypeinfo.c
+++ b/
ir/ana/irtypeinfo.c
@@
-41,7
+41,7
@@
#include <stddef.h>
#include <stddef.h>
-#include "irgraph_t.h"
/* for setting the state flag. */
+#include "irgraph_t.h"
#include "irprog_t.h"
#include "irnode_t.h"
#include "pmap.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
2000bcb
..
06cced8
100644
(file)
--- 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 "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"
#include "../benode.h"
#include "../belower.h"
#include "../besched.h"
@@
-55,8
+55,8
@@
#include "bearch_ppc32_t.h"
#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"
#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
8c820be
..
ba10cfe
100644
(file)
--- 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 "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"
#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
758c811
..
3d87db9
100644
(file)
--- a/
ir/ir/irgwalk_blk.c
+++ b/
ir/ir/irgwalk_blk.c
@@
-26,7
+26,7
@@
#include "config.h"
#include "irnode_t.h"
#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"
#include "irgwalk.h"
#include "pset.h"
#include "irhooks.h"
diff --git
a/ir/ir/irop.c
b/ir/ir/irop.c
index
84c1470
..
8295069
100644
(file)
--- a/
ir/ir/irop.c
+++ b/
ir/ir/irop.c
@@
-32,7
+32,7
@@
#include "irhooks.h"
#include "irbackedge_t.h"
#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"
#include "irvrfy_t.h"
#include "reassoc_t.h"
diff --git
a/ir/obstack/obstack.c
b/ir/obstack/obstack.c
index
6d11674
..
4f091ff
100644
(file)
--- 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
longer properly call the functions in this obstack.c. */
#define OBSTACK_INTERFACE_VERSION 1
-#include <stdio.h>
/* Random thing to get __GNU_LIBRARY__. */
+#include <stdio.h>
#include <stddef.h>
#include <stdint.h>
#include <stddef.h>
#include <stdint.h>
diff --git
a/ir/obstack_win/obstack.c
b/ir/obstack_win/obstack.c
index
2c82bf8
..
de6b136
100644
(file)
--- 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. */
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 <stdio.h> /* Random thing to get __GNU_LIBRARY__. */
+/* Random thing to get __GNU_LIBRARY__. */
+#include <stdio.h>
#if !defined (_LIBC) && defined (__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1
#include <gnu-versions.h>
#if _GNU_OBSTACK_INTERFACE_VERSION == OBSTACK_INTERFACE_VERSION
#if !defined (_LIBC) && defined (__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1
#include <gnu-versions.h>
#if _GNU_OBSTACK_INTERFACE_VERSION == OBSTACK_INTERFACE_VERSION
diff --git
a/ir/tr/trvrfy.c
b/ir/tr/trvrfy.c
index
301ea9a
..
aac2935
100644
(file)
--- a/
ir/tr/trvrfy.c
+++ b/
ir/tr/trvrfy.c
@@
-26,8
+26,7
@@
*/
#include "config.h"
*/
#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"
#include "irflag_t.h"
#include "irprintf.h"
#include "irgwalk.h"
diff --git
a/ir/tv/strcalc.c
b/ir/tv/strcalc.c
index
804a071
..
aed82e1
100644
(file)
--- a/
ir/tv/strcalc.c
+++ b/
ir/tv/strcalc.c
@@
-24,14
+24,13
@@
* @author Mathias Heil
* @version $Id$
*/
* @author Mathias Heil
* @version $Id$
*/
-
#include "config.h"
#include <stdlib.h>
#include "config.h"
#include <stdlib.h>
-#include <string.h>
/* memset/memcmp */
-#include <assert.h>
/* assertions */
-#include <stdio.h>
/* output for error messages */
-#include <limits.h>
/* definition of LONG_MIN, used in sc_get_val_from_long */
+#include <string.h>
+#include <assert.h>
+#include <stdio.h>
+#include <limits.h>
#include "strcalc.h"
#include "xmalloc.h"
#include "strcalc.h"
#include "xmalloc.h"
diff --git
a/ir/tv/tv.c
b/ir/tv/tv.c
index
1892f6f
..
3648712
100644
(file)
--- a/
ir/tv/tv.c
+++ b/
ir/tv/tv.c
@@
-33,19
+33,19
@@
*/
#include "config.h"
*/
#include "config.h"
-#include <assert.h>
/* assertions */
-#include <stdlib.h>
/* atoi() */
+#include <assert.h>
+#include <stdlib.h>
#include <string.h>
#ifdef HAVE_STRINGS_H
#include <string.h>
#ifdef HAVE_STRINGS_H
-#include <strings.h>
/* strings.h also includes bsd only function strcasecmp */
+#include <strings.h>
#endif
#include <stdlib.h>
#include "tv_t.h"
#endif
#include <stdlib.h>
#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 "irmode_t.h"
-#include "irnode.h"
/* defines boolean return values (pnc_number)*/
+#include "irnode.h"
#include "strcalc.h"
#include "fltcalc.h"
#include "irtools.h"
#include "strcalc.h"
#include "fltcalc.h"
#include "irtools.h"