diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/DerivedTypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<AbstractTypeUser *> AbstractTypeUsers; + friend class Type; protected: DerivedType(TypeID id) : Type("", id) {} |