Initial version of auto_refactor

The current tool aims at analyzing the input/output of
each C function.

Will add description about how to use the tool later.

Change-Id: I19ef93e0ed3bf797b7742a8962a6d86c662cd4e8
diff --git a/tools/auto_refactor/c_files/struct_code.c b/tools/auto_refactor/c_files/struct_code.c
new file mode 100644
index 0000000..62b9d7a
--- /dev/null
+++ b/tools/auto_refactor/c_files/struct_code.c
@@ -0,0 +1,38 @@
+typedef struct S1 {
+  int x;
+} T1;
+
+struct S3 {
+  int x;
+};
+
+typedef struct {
+  int x;
+  struct S3 s3;
+} T4;
+
+typedef union U5 {
+  int x;
+  double y;
+} T5;
+
+typedef struct S6 {
+  struct {
+    int x;
+  };
+  union {
+    int y;
+    int z;
+  };
+} T6;
+
+typedef struct S7 {
+  struct {
+    int x;
+  } y;
+  union {
+    int w;
+  } z;
+} T7;
+
+int main() {}