summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/type/attribute.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/src/type/attribute.cc')
-rw-r--r--tiger-compiler/src/type/attribute.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/tiger-compiler/src/type/attribute.cc b/tiger-compiler/src/type/attribute.cc
new file mode 100644
index 0000000..bfbe537
--- /dev/null
+++ b/tiger-compiler/src/type/attribute.cc
@@ -0,0 +1,16 @@
+/**
+ ** \file type/attribute.cc
+ ** \brief Implementation for type/attribute.hh.
+ */
+
+#include <ostream>
+
+#include <type/attribute.hh>
+
+namespace type
+{
+ Attribute::Attribute(const ast::VarDec* def)
+ : def_(def)
+ {}
+
+} // namespace type