summaryrefslogtreecommitdiff
path: root/src/hir_typeck
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2018-06-04 13:21:22 +0800
committerJohn Hodge <tpg@mutabah.net>2018-06-04 13:21:22 +0800
commit42bdc18d4ba8f9fd19109050eb83bb6615539a75 (patch)
tree88501e01485038ad879160383b60c2e02b97f96e /src/hir_typeck
parent8d99deade68a9c995101fd5944f9011fcf3dccc7 (diff)
downloadmrust-42bdc18d4ba8f9fd19109050eb83bb6615539a75.tar.gz
All - Ensure that all files have a header comment, remove some dead code
Diffstat (limited to 'src/hir_typeck')
-rw-r--r--src/hir_typeck/expr_visit.cpp5
-rw-r--r--src/hir_typeck/expr_visit.hpp7
-rw-r--r--src/hir_typeck/impl_ref.hpp5
-rw-r--r--src/hir_typeck/main_bindings.hpp5
4 files changed, 22 insertions, 0 deletions
diff --git a/src/hir_typeck/expr_visit.cpp b/src/hir_typeck/expr_visit.cpp
index b82e8f23..123f51b3 100644
--- a/src/hir_typeck/expr_visit.cpp
+++ b/src/hir_typeck/expr_visit.cpp
@@ -1,4 +1,9 @@
/*
+ * MRustC - Mutabah's Rust Compiler
+ * - By John Hodge (Mutabah/thePowersGang)
+ *
+ * hir_typeck/expr_visit.cpp
+ * - Wrapper around HIR typecheck that visits all expressions
*/
#include <hir/hir.hpp>
#include <hir/expr.hpp>
diff --git a/src/hir_typeck/expr_visit.hpp b/src/hir_typeck/expr_visit.hpp
index 3fe601e4..2263a66f 100644
--- a/src/hir_typeck/expr_visit.hpp
+++ b/src/hir_typeck/expr_visit.hpp
@@ -1,3 +1,10 @@
+/*
+ * MRustC - Mutabah's Rust Compiler
+ * - By John Hodge (Mutabah/thePowersGang)
+ *
+ * hir_typeck/expr_visit.hpp
+ * - Helpers for the HIR typecheck expression visiting
+ */
namespace typeck {
struct ModuleState
diff --git a/src/hir_typeck/impl_ref.hpp b/src/hir_typeck/impl_ref.hpp
index 126daeda..b1190c61 100644
--- a/src/hir_typeck/impl_ref.hpp
+++ b/src/hir_typeck/impl_ref.hpp
@@ -1,4 +1,9 @@
/*
+ * MRustC - Mutabah's Rust Compiler
+ * - By John Hodge (Mutabah/thePowersGang)
+ *
+ * hir_typeck/impl_ref.hpp
+ * - Reference to a specific impl block (or the concept of one)
*/
#pragma once
diff --git a/src/hir_typeck/main_bindings.hpp b/src/hir_typeck/main_bindings.hpp
index fe2920b9..12872fe6 100644
--- a/src/hir_typeck/main_bindings.hpp
+++ b/src/hir_typeck/main_bindings.hpp
@@ -1,4 +1,9 @@
/*
+ * MRustC - Mutabah's Rust Compiler
+ * - By John Hodge (Mutabah/thePowersGang)
+ *
+ * hir_typeck/main_bindings.hpp
+ * - Functions in HIR typecheck called by main
*/
#pragma once