aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-08-23 17:06:21 +0000
committerChris Lattner <sabre@nondot.org>2001-08-23 17:06:21 +0000
commitcda67e50867c41c75e1d864e33044e08c1c7fea7 (patch)
tree6d1191de2015e423b7b52bf8b4e886d1ecb39a8f
parentbd8364aed7f112450622344d81c73ea3f47ec0fb (diff)
Add annotation support to value
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index 07a61a6018..85c5e76ae8 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -8,8 +8,8 @@
#ifndef LLVM_VALUE_H
#define LLVM_VALUE_H
-#include <string>
#include <list>
+#include "llvm/Annotation.h"
class User;
class Type;
@@ -26,7 +26,7 @@ template<class ValueSubclass, class ItemParentType, class SymTabType>
// Value Class
//===----------------------------------------------------------------------===//
-class Value {
+class Value : public Annotable { // Value's are annotable
public:
enum ValueTy {
TypeVal, // This is an instance of Type