From d15165723cbdb577c8acf8fcbfad6d2b16b70808 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 7 Oct 2004 19:21:43 +0000 Subject: Get friendly with Type git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16812 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/DerivedTypes.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index 10f74dc..add873c 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) {} -- cgit v1.1