aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-23 06:09:45 +0000
committerChris Lattner <sabre@nondot.org>2006-09-23 06:09:45 +0000
commite87a4b6cb000b9065c70cc40e74f89f338313f4d (patch)
tree9d9d796b10d4c665b69756125bbfa9eef0ab103a
parenta71965b1adf6bfeddfd3b38fdf7df9b4412bc6c2 (diff)
remove misleading comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30585 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Type.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 9f73b25dbf..20a3e35d0c 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -371,13 +371,7 @@ protected:
//===----------------------------------------------------------------------===//
// Define some inline methods for the AbstractTypeUser.h:PATypeHandle class.
// These are defined here because they MUST be inlined, yet are dependent on
-// the definition of the Type class. Of course Type derives from Value, which
-// contains an AbstractTypeUser instance, so there is no good way to factor out
-// the code. Hence this bit of uglyness.
-//
-// In the long term, Type should not derive from Value, allowing
-// AbstractTypeUser.h to #include Type.h, allowing us to eliminate this
-// nastyness entirely.
+// the definition of the Type class.
//
inline void PATypeHandle::addUser() {
assert(Ty && "Type Handle has a null type!");