From: Chris Lattner Date: Thu, 7 Oct 2004 19:21:43 +0000 (+0000) Subject: Get friendly with Type X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d15165723cbdb577c8acf8fcbfad6d2b16b70808;p=oota-llvm.git Get friendly with Type git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16812 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index 10f74dc4f08..add873ce2db 100644 --- a/include/llvm/DerivedTypes.h +++ b/include/llvm/DerivedTypes.h @@ -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 AbstractTypeUsers; + friend class Type; protected: DerivedType(TypeID id) : Type("", id) {}