summaryrefslogtreecommitdiff
path: root/src/trans/codegen.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trans/codegen.hpp')
-rw-r--r--src/trans/codegen.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/trans/codegen.hpp b/src/trans/codegen.hpp
index e14a8e81..984c4742 100644
--- a/src/trans/codegen.hpp
+++ b/src/trans/codegen.hpp
@@ -30,6 +30,7 @@ public:
// Called on all types directly mentioned (e.g. variables, arguments, and fields)
// - Inner-most types are visited first.
+ virtual void emit_type_proto(const ::HIR::TypeRef& ) {}
virtual void emit_type(const ::HIR::TypeRef& ) {}
// Called when a TypeRef::Path is encountered (after visiting inner types)