projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b10b6
)
Get friendly with Type
author
Chris Lattner
<sabre@nondot.org>
Thu, 7 Oct 2004 19:21:43 +0000
(19:21 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 7 Oct 2004 19:21:43 +0000
(19:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16812
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/DerivedTypes.h
patch
|
blob
|
history
diff --git
a/include/llvm/DerivedTypes.h
b/include/llvm/DerivedTypes.h
index 10f74dc4f0851a21ea0762add7cb62ddb62f2525..add873ce2db50a1f2ca2cc8a160f4ae3d62db972 100644
(file)
--- 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) {}