Add annotation support to value

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-08-23 17:06:21 +00:00
parent bd8364aed7
commit cda67e5086

View 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