summaryrefslogtreecommitdiff
path: root/src/trans/trans_list.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-11-27 19:40:15 +0800
committerJohn Hodge <tpg@mutabah.net>2016-11-27 19:40:15 +0800
commit264bb4feab3e128db025a77f127b256ebf4f0e49 (patch)
tree34c17b08d0b2c1dfbe760a48e69d0242d0b96b33 /src/trans/trans_list.cpp
parent3aa77e8cd45c4597867751814bebabb9daad5ae8 (diff)
downloadmrust-264bb4feab3e128db025a77f127b256ebf4f0e49.tar.gz
Trans - Initial rough up (untested) of enumeration
Diffstat (limited to 'src/trans/trans_list.cpp')
-rw-r--r--src/trans/trans_list.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/trans/trans_list.cpp b/src/trans/trans_list.cpp
new file mode 100644
index 00000000..4df20373
--- /dev/null
+++ b/src/trans/trans_list.cpp
@@ -0,0 +1,19 @@
+/*
+ * MRustC - Rust Compiler
+ * - By John Hodge (Mutabah/thePowersGang)
+ *
+ * trans/trans_list.cpp
+ * - A list of items that require translation
+ */
+#include "trans_list.hpp"
+
+bool TransList::add_function(::HIR::Path p, const ::HIR::Function& f)
+{
+ TODO(Span(), "");
+ return false;
+}
+bool TransList::add_static(::HIR::Path p, const ::HIR::Static& f)
+{
+ TODO(Span(), "");
+ return false;
+}