diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/AbstractTypeUser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/AbstractTypeUser.h b/include/llvm/AbstractTypeUser.h index 8a18f58..d211165 100644 --- a/include/llvm/AbstractTypeUser.h +++ b/include/llvm/AbstractTypeUser.h @@ -143,6 +143,8 @@ public: addRef(); } + ~PATypeHolder() { dropRef(); } + operator const Type *() const { return get(); } const Type *get() const; |