Add annotation support to value
authorChris Lattner <sabre@nondot.org>
Thu, 23 Aug 2001 17:06:21 +0000 (17:06 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 23 Aug 2001 17:06:21 +0000 (17:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Value.h

index 07a61a60188c21b70425abea4c2f58d4d0ae7889..85c5e76ae820c0c84b93f54c583bbc9a726cb6cb 100644 (file)
@@ -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