summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/type/array.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/src/type/array.hxx')
-rw-r--r--tiger-compiler/src/type/array.hxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/tiger-compiler/src/type/array.hxx b/tiger-compiler/src/type/array.hxx
new file mode 100644
index 0000000..1ed65da
--- /dev/null
+++ b/tiger-compiler/src/type/array.hxx
@@ -0,0 +1,18 @@
+/**
+ ** \file type/array.hxx
+ ** \brief Inline methods for type::Array.
+ */
+#pragma once
+
+#include <misc/contract.hh>
+#include <type/array.hh>
+
+namespace type
+{
+ // FIXME DONE: Some code was deleted here.
+ inline const Type* Array::get_element_type() const
+ {
+ return element_type_;
+ }
+
+} // namespace type