aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/AbstractTypeUser.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-04 04:45:42 +0000
committerChris Lattner <sabre@nondot.org>2004-08-04 04:45:42 +0000
commitb6197611d54de7f0ba50b185aa4fe6eea9ceb8ff (patch)
tree66c8aa97c5239f84413c921883b917fe223fd0b8 /include/llvm/AbstractTypeUser.h
parent7c136c3f8b7af841794f30eaaa4822b65f1eb4f7 (diff)
New methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15462 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/AbstractTypeUser.h')
-rw-r--r--include/llvm/AbstractTypeUser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/AbstractTypeUser.h b/include/llvm/AbstractTypeUser.h
index a06252dc73..26620eb85f 100644
--- a/include/llvm/AbstractTypeUser.h
+++ b/include/llvm/AbstractTypeUser.h
@@ -164,6 +164,10 @@ public:
return operator=(H.Ty);
}
+ /// getRawType - This should only be used to implement the vmcore library.
+ ///
+ const Type *getRawType() const { return Ty; }
+
private:
void addRef();
void dropRef();