summaryrefslogtreecommitdiff
path: root/src/trans/mangling.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trans/mangling.hpp')
-rw-r--r--src/trans/mangling.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/trans/mangling.hpp b/src/trans/mangling.hpp
new file mode 100644
index 00000000..b9ead23d
--- /dev/null
+++ b/src/trans/mangling.hpp
@@ -0,0 +1,20 @@
+/*
+ * MRustC - Rust Compiler
+ * - By John Hodge (Mutabah/thePowersGang)
+ *
+ * trans/mangling.hpp
+ * - Name mangling support
+ */
+#pragma once
+#include <string>
+
+namespace HIR {
+ class GenericPath;
+ class Path;
+ class TypeRef;
+}
+
+extern ::std::string Trans_Mangle(const ::HIR::GenericPath& path);
+extern ::std::string Trans_Mangle(const ::HIR::Path& path);
+extern ::std::string Trans_Mangle(const ::HIR::TypeRef& ty);
+