summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2019-04-26 21:27:39 +0200
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2019-04-26 21:27:39 +0200
commit156ca3e8f162e7bcc103a0844177447bc58b06a9 (patch)
treee82e83e8a1ae1876046f7aae78a4b579759d7443
parentcf5d0f2a111a89407a0c691feb79b00cc3309bbb (diff)
Unify header includes
Add a newline before #include "begin.h", because it must be the last included header.
-rw-r--r--include/libfirm/analyze_irg_args.h1
-rw-r--r--include/libfirm/be.h3
-rw-r--r--include/libfirm/callgraph.h1
-rw-r--r--include/libfirm/cdep.h1
-rw-r--r--include/libfirm/cgana.h2
-rw-r--r--include/libfirm/dbginfo.h2
-rw-r--r--include/libfirm/execfreq.h1
-rw-r--r--include/libfirm/firm_common.h1
-rw-r--r--include/libfirm/heights.h1
-rw-r--r--include/libfirm/ident.h1
-rw-r--r--include/libfirm/ircgopt.h2
-rw-r--r--include/libfirm/ircons.h3
-rw-r--r--include/libfirm/irconsconfirm.h1
-rw-r--r--include/libfirm/irdom.h1
-rw-r--r--include/libfirm/irdump.h2
-rw-r--r--include/libfirm/iredges.h1
-rw-r--r--include/libfirm/irflag.h1
-rw-r--r--include/libfirm/irgmod.h1
-rw-r--r--include/libfirm/irgopt.h1
-rw-r--r--include/libfirm/irgraph.h2
-rw-r--r--include/libfirm/irgwalk.h1
-rw-r--r--include/libfirm/irio.h2
-rw-r--r--include/libfirm/irloop.h4
-rw-r--r--include/libfirm/irmemory.h1
-rw-r--r--include/libfirm/irmode.h4
-rw-r--r--include/libfirm/irnode.h8
-rw-r--r--include/libfirm/irop.h1
-rw-r--r--include/libfirm/iropt.h1
-rw-r--r--include/libfirm/iroptimize.h1
-rw-r--r--include/libfirm/irouts.h1
-rw-r--r--include/libfirm/irprintf.h4
-rw-r--r--include/libfirm/irprog.h1
-rw-r--r--include/libfirm/irverify.h1
-rw-r--r--include/libfirm/lowering.h1
-rw-r--r--include/libfirm/typerep.h1
-rw-r--r--include/libfirm/vrp.h1
36 files changed, 42 insertions, 20 deletions
diff --git a/include/libfirm/analyze_irg_args.h b/include/libfirm/analyze_irg_args.h
index 02d525a..2957dca 100644
--- a/include/libfirm/analyze_irg_args.h
+++ b/include/libfirm/analyze_irg_args.h
@@ -13,6 +13,7 @@
#include "firm_types.h"
#include "typerep.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/be.h b/include/libfirm/be.h
index ffb7b31..6b75d07 100644
--- a/include/libfirm/be.h
+++ b/include/libfirm/be.h
@@ -12,8 +12,9 @@
#define FIRM_BE_H
#include <stdio.h>
-#include "iroptimize.h"
#include "irmode.h"
+#include "iroptimize.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/callgraph.h b/include/libfirm/callgraph.h
index f062e7c..e09e0ec 100644
--- a/include/libfirm/callgraph.h
+++ b/include/libfirm/callgraph.h
@@ -15,6 +15,7 @@
#include <stddef.h>
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/cdep.h b/include/libfirm/cdep.h
index 3c6c08c..51f7bc1 100644
--- a/include/libfirm/cdep.h
+++ b/include/libfirm/cdep.h
@@ -12,6 +12,7 @@
#define FIRM_ANA_CDEP_H
#include "firm_types.h"
+
#include "begin.h"
/** @ingroup irana
diff --git a/include/libfirm/cgana.h b/include/libfirm/cgana.h
index 9ae59eb..81c9569 100644
--- a/include/libfirm/cgana.h
+++ b/include/libfirm/cgana.h
@@ -20,8 +20,8 @@
#define FIRM_ANA_CGANA_H
#include <stddef.h>
-
#include "firm_types.h"
+
#include "begin.h"
/** @addtogroup callgraph
diff --git a/include/libfirm/dbginfo.h b/include/libfirm/dbginfo.h
index 9bcdb37..1936832 100644
--- a/include/libfirm/dbginfo.h
+++ b/include/libfirm/dbginfo.h
@@ -13,8 +13,8 @@
#define FIRM_DEBUG_DBGINFO_H
#include <stddef.h>
-
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/execfreq.h b/include/libfirm/execfreq.h
index 62d27e4..7aa34b0 100644
--- a/include/libfirm/execfreq.h
+++ b/include/libfirm/execfreq.h
@@ -13,6 +13,7 @@
#define FIRM_ANA_EXECFREQ_H
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/firm_common.h b/include/libfirm/firm_common.h
index 100ebd3..dacb2c3 100644
--- a/include/libfirm/firm_common.h
+++ b/include/libfirm/firm_common.h
@@ -12,6 +12,7 @@
#define FIRM_COMMON_FIRM_COMMON_H
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/heights.h b/include/libfirm/heights.h
index 6fb1e57..3fcf538 100644
--- a/include/libfirm/heights.h
+++ b/include/libfirm/heights.h
@@ -13,6 +13,7 @@
#define FIRM_ANA_HEIGHTS_H
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/ident.h b/include/libfirm/ident.h
index df6ceba..cc5cea7 100644
--- a/include/libfirm/ident.h
+++ b/include/libfirm/ident.h
@@ -14,6 +14,7 @@
#include <stddef.h>
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/ircgopt.h b/include/libfirm/ircgopt.h
index 03b4719..fcc9399 100644
--- a/include/libfirm/ircgopt.h
+++ b/include/libfirm/ircgopt.h
@@ -16,8 +16,8 @@
#define FIRM_IR_ICGOPT_H
#include <stddef.h>
-
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/ircons.h b/include/libfirm/ircons.h
index 158e8d4..658acdc 100644
--- a/include/libfirm/ircons.h
+++ b/include/libfirm/ircons.h
@@ -295,9 +295,10 @@
#define FIRM_IR_IRCONS_H
#include "firm_types.h"
-#include "begin.h"
#include "irnode.h"
+#include "begin.h"
+
/** @addtogroup Const
* @{
*/
diff --git a/include/libfirm/irconsconfirm.h b/include/libfirm/irconsconfirm.h
index f00c458..0197033 100644
--- a/include/libfirm/irconsconfirm.h
+++ b/include/libfirm/irconsconfirm.h
@@ -13,6 +13,7 @@
#define FIRM_ANA_IRCONSCONFIRM_H
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/irdom.h b/include/libfirm/irdom.h
index 5280ddb..a05009e 100644
--- a/include/libfirm/irdom.h
+++ b/include/libfirm/irdom.h
@@ -14,6 +14,7 @@
#define FIRM_ANA_IRDOM_H
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/irdump.h b/include/libfirm/irdump.h
index e61fe31..87e6fcb 100644
--- a/include/libfirm/irdump.h
+++ b/include/libfirm/irdump.h
@@ -14,8 +14,8 @@
#define FIRM_IR_IRDUMP_H
#include <stdio.h>
-
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/iredges.h b/include/libfirm/iredges.h
index ae723dd..b690259 100644
--- a/include/libfirm/iredges.h
+++ b/include/libfirm/iredges.h
@@ -14,6 +14,7 @@
#include "firm_types.h"
#include "iredgekinds.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/irflag.h b/include/libfirm/irflag.h
index 75490f1..cff4670 100644
--- a/include/libfirm/irflag.h
+++ b/include/libfirm/irflag.h
@@ -12,6 +12,7 @@
#define FIRM_IR_IRFLAG_H
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/irgmod.h b/include/libfirm/irgmod.h
index bee8ffe..d4cef67 100644
--- a/include/libfirm/irgmod.h
+++ b/include/libfirm/irgmod.h
@@ -12,6 +12,7 @@
#define FIRM_IR_IRGMOD_H
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/irgopt.h b/include/libfirm/irgopt.h
index 5f02d86..e3437fc 100644
--- a/include/libfirm/irgopt.h
+++ b/include/libfirm/irgopt.h
@@ -12,6 +12,7 @@
#define FIRM_IR_IRGOPT_H
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/irgraph.h b/include/libfirm/irgraph.h
index d5432fc..a53acbd 100644
--- a/include/libfirm/irgraph.h
+++ b/include/libfirm/irgraph.h
@@ -12,8 +12,8 @@
#define FIRM_IR_IRGRAPH_H
#include <stddef.h>
-
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/irgwalk.h b/include/libfirm/irgwalk.h
index 0f85d0e..eed0089 100644
--- a/include/libfirm/irgwalk.h
+++ b/include/libfirm/irgwalk.h
@@ -12,6 +12,7 @@
#define FIRM_IR_IRGWALK_H
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/irio.h b/include/libfirm/irio.h
index 30f312f..714d3c2 100644
--- a/include/libfirm/irio.h
+++ b/include/libfirm/irio.h
@@ -12,8 +12,8 @@
#define FIRM_IR_IRIO_H
#include <stdio.h>
-
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/irloop.h b/include/libfirm/irloop.h
index 7ab84c8..100a454 100644
--- a/include/libfirm/irloop.h
+++ b/include/libfirm/irloop.h
@@ -19,9 +19,9 @@
#define FIRM_ANA_IRLOOP_H
#include <stddef.h>
-
-#include "firm_types.h"
#include "firm_common.h"
+#include "firm_types.h"
+
#include "begin.h"
/** @ingroup irana
diff --git a/include/libfirm/irmemory.h b/include/libfirm/irmemory.h
index 1f49c2e..a1c1ac4 100644
--- a/include/libfirm/irmemory.h
+++ b/include/libfirm/irmemory.h
@@ -13,6 +13,7 @@
#define FIRM_ANA_IRMEMORY_H
#include "firm_types.h"
+
#include "begin.h"
/** @ingroup irana
diff --git a/include/libfirm/irmode.h b/include/libfirm/irmode.h
index d61caea..77cabb9 100644
--- a/include/libfirm/irmode.h
+++ b/include/libfirm/irmode.h
@@ -12,10 +12,10 @@
#ifndef FIRM_IR_IRMODE_H
#define FIRM_IR_IRMODE_H
+#include <stddef.h>
#include "firm_types.h"
-#include "begin.h"
-#include <stddef.h>
+#include "begin.h"
/**
* @defgroup ir_mode Value Modes
diff --git a/include/libfirm/irnode.h b/include/libfirm/irnode.h
index a9eb59b..8716e59 100644
--- a/include/libfirm/irnode.h
+++ b/include/libfirm/irnode.h
@@ -12,13 +12,13 @@
#define FIRM_IR_IRNODE_H
#include <stddef.h>
-
#include "firm_common.h"
-#include "typerep.h"
-#include "irop.h"
#include "irmode.h"
-#include "begin.h"
+#include "irop.h"
#include "nodes.h"
+#include "typerep.h"
+
+#include "begin.h"
/**
* @ingroup ir_graph
diff --git a/include/libfirm/irop.h b/include/libfirm/irop.h
index 963da46..72a2394 100644
--- a/include/libfirm/irop.h
+++ b/include/libfirm/irop.h
@@ -14,6 +14,7 @@
#include <stdio.h>
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/iropt.h b/include/libfirm/iropt.h
index 77468e7..8b02faf 100644
--- a/include/libfirm/iropt.h
+++ b/include/libfirm/iropt.h
@@ -12,6 +12,7 @@
#define FIRM_IR_IROPT_H
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/iroptimize.h b/include/libfirm/iroptimize.h
index aa764df..b3eaeb4 100644
--- a/include/libfirm/iroptimize.h
+++ b/include/libfirm/iroptimize.h
@@ -11,6 +11,7 @@
#define FIRM_IROPTIMIZE_H
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/irouts.h b/include/libfirm/irouts.h
index d4488fe..37782b5 100644
--- a/include/libfirm/irouts.h
+++ b/include/libfirm/irouts.h
@@ -13,6 +13,7 @@
#define FIRM_ANA_IROUTS_H
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/irprintf.h b/include/libfirm/irprintf.h
index 79b1e2d..e244f39 100644
--- a/include/libfirm/irprintf.h
+++ b/include/libfirm/irprintf.h
@@ -13,11 +13,11 @@
#include <stdarg.h>
#include <stdio.h>
-#include "begin.h"
#include "firm_types.h"
-
struct obstack;
+#include "begin.h"
+
/**
* @ingroup printing
* @defgroup printf String Formatting
diff --git a/include/libfirm/irprog.h b/include/libfirm/irprog.h
index 6124f46..333aab1 100644
--- a/include/libfirm/irprog.h
+++ b/include/libfirm/irprog.h
@@ -18,6 +18,7 @@
#include <stddef.h>
#include "firm_types.h"
#include "irgraph.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/irverify.h b/include/libfirm/irverify.h
index 6738a25..b487c2e 100644
--- a/include/libfirm/irverify.h
+++ b/include/libfirm/irverify.h
@@ -12,6 +12,7 @@
#define FIRM_IR_IRVERIFY_H
#include "firm_types.h"
+
#include "begin.h"
/**
diff --git a/include/libfirm/lowering.h b/include/libfirm/lowering.h
index 5fb8009..8e20090 100644
--- a/include/libfirm/lowering.h
+++ b/include/libfirm/lowering.h
@@ -12,7 +12,6 @@
#define FIRM_LOWERING_H
#include <stddef.h>
-
#include "firm_types.h"
#include "begin.h"
diff --git a/include/libfirm/typerep.h b/include/libfirm/typerep.h
index 885bdd9..c04952d 100644
--- a/include/libfirm/typerep.h
+++ b/include/libfirm/typerep.h
@@ -11,7 +11,6 @@
#define FIRM_TYPEREP_H
#include <stddef.h>
-
#include "firm_types.h"
#include "begin.h"
diff --git a/include/libfirm/vrp.h b/include/libfirm/vrp.h
index 033ea34..e7c35a6 100644
--- a/include/libfirm/vrp.h
+++ b/include/libfirm/vrp.h
@@ -12,6 +12,7 @@
#define VRP_H
#include "firm_types.h"
+
#include "begin.h"
/**