summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-05-11 13:25:20 +0800
committerJohn Hodge <tpg@mutabah.net>2016-05-11 13:25:20 +0800
commit8e9e3a395f211dc871c3abc816b1cc892ed74312 (patch)
tree54efa6d90a427c2a5e0488da9fe8d59b91a325a7 /src/include
parent1ac071bb74b47a0904e080f1343b31142da9da90 (diff)
downloadmrust-8e9e3a395f211dc871c3abc816b1cc892ed74312.tar.gz
HIR - Start on conversion
Diffstat (limited to 'src/include')
-rw-r--r--src/include/main_bindings.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/main_bindings.hpp b/src/include/main_bindings.hpp
index 8f1c605d..299ec94f 100644
--- a/src/include/main_bindings.hpp
+++ b/src/include/main_bindings.hpp
@@ -4,6 +4,8 @@
#define _MAIN_BINDINGS_HPP_
#include <string>
+#include <memory>
+#include <hir/crate_ptr.hpp>
namespace AST {
class Crate;
@@ -23,6 +25,8 @@ extern void Resolve_Use(::AST::Crate& crate);
extern void Resolve_Index(::AST::Crate& crate);
extern void Resolve_Absolutise(::AST::Crate& crate);
+extern ::HIR::CratePtr LowerHIR_FromAST(::AST::Crate crate);
+
/// Resolve all in-text paths to absolute variants
extern void ResolvePaths(AST::Crate& crate);
/// Check that generic bounds are valid