summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/object/fwd.hh
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/src/object/fwd.hh')
-rw-r--r--tiger-compiler/src/object/fwd.hh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tiger-compiler/src/object/fwd.hh b/tiger-compiler/src/object/fwd.hh
new file mode 100644
index 0000000..7b7d779
--- /dev/null
+++ b/tiger-compiler/src/object/fwd.hh
@@ -0,0 +1,16 @@
+/**
+ ** \file object/fwd.hh
+ ** \brief Forward declarations of using types.
+ */
+
+#pragma once
+
+#include <misc/map.hh>
+#include <misc/symbol.hh>
+#include <type/class.hh>
+
+namespace object
+{
+ /// Names associated to class types.
+ using class_names_type = misc::map<const type::Class*, misc::symbol>;
+} // namespace object