Browse Source

added decls

Nicolas Winkler 6 years ago
parent
commit
872c6e3285
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/sem/Context.h

+ 3 - 0
src/sem/Context.h

@@ -34,6 +34,9 @@ public:
     
     TypeId addType(Type&& type);
     std::optional<std::reference_wrapper<Type>> getType(TypeId tid);
+
+    TypeId getPointerTo(TypeId id);
+    TypeId getArrayOf(TypeId id);
 };
 
 #endif // QLOW_SEM_CONTEXT_H