Get friendly with Type

llvm-svn: 16812
This commit is contained in:
Chris Lattner 2004-10-07 19:21:43 +00:00
parent 251093ca5d
commit b0b1cb2182
1 changed files with 1 additions and 0 deletions

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) {}