diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-07 19:21:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-07 19:21:43 +0000 |
commit | d15165723cbdb577c8acf8fcbfad6d2b16b70808 (patch) | |
tree | 0807175346251ef90618da3ad25b27fbee107ad1 /include | |
parent | a6b10b6fcce41b036bb51fa6d5bcdbe0e49ab926 (diff) | |
download | external_llvm-d15165723cbdb577c8acf8fcbfad6d2b16b70808.zip external_llvm-d15165723cbdb577c8acf8fcbfad6d2b16b70808.tar.gz external_llvm-d15165723cbdb577c8acf8fcbfad6d2b16b70808.tar.bz2 |
Get friendly with Type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16812 91177308-0d34-0410-b5e6-96231b3b80d8
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) {} |