forked from OSchip/llvm-project
Hrm is a really nasty ommission. The lack of this destructor was causing abstract
types to never be deleted, manifesting itself as many OpaqueType objects being leaked. Whoops. llvm-svn: 10601
This commit is contained in:
parent
5695ec9f95
commit
547508d542
|
@ -143,6 +143,8 @@ public:
|
|||
addRef();
|
||||
}
|
||||
|
||||
~PATypeHolder() { dropRef(); }
|
||||
|
||||
operator const Type *() const { return get(); }
|
||||
const Type *get() const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue