Get friendly with Type

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16812 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-10-07 19:21:43 +00:00
parent a6b10b6fcc
commit d15165723c

View File

@ -35,6 +35,7 @@ class DerivedType : public Type, public AbstractTypeUser {
// if I am a type, and I get resolved into a more concrete type.
//
mutable std::vector<AbstractTypeUser *> AbstractTypeUsers;
friend class Type;
protected:
DerivedType(TypeID id) : Type("", id) {}