summaryrefslogtreecommitdiff
path: root/TypeManager.hh
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2020-05-30 15:52:36 +0800
committerNagi5Yeq <wu@x-nagi.com>2020-05-30 15:52:36 +0800
commit30726a1872c92d40424d496fc52043ca452d935f (patch)
tree86ce09251183ee544033ba8bfa9f51199aa58628 /TypeManager.hh
parent4c9d2d541c90968db2065260dc94c3be9e8adef9 (diff)
support for array access (partial)
Diffstat (limited to 'TypeManager.hh')
-rw-r--r--TypeManager.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/TypeManager.hh b/TypeManager.hh
index ce9cfee..13a98a1 100644
--- a/TypeManager.hh
+++ b/TypeManager.hh
@@ -25,6 +25,8 @@ class TypeManager {
public:
TypeManager();
std::shared_ptr<Type> GetBuiltinType(BuiltinType type);
+ std::shared_ptr<Type> GetPointerIndexType_();
+ std::shared_ptr<Type> GetPointerDifferenceType_();
// if call this function twice with the same ElementType, it will return the
// same shared_ptr to the Type.