Change Value from a "struct" to a "class" so that VC 7.1 doesn't generate
authorReid Spencer <rspencer@reidspencer.com>
Thu, 23 Sep 2004 14:49:45 +0000 (14:49 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 23 Sep 2004 14:49:45 +0000 (14:49 +0000)
missing symbols when its referenced as a class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16496 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Value.h

index 2b10a841a019e59b5f362c3468f1dae313c09c05..2aed4d2f503a24c3c449faa2054a1ede9b2bc4f7 100644 (file)
@@ -40,7 +40,7 @@ class SymbolTable;
 /// Value - The base class of all values computed by a program that may be used
 /// as operands to other values.
 ///
-struct Value {
+class Value {
 private:
   unsigned SubclassID;               // Subclass identifier (for isa/dyn_cast)
   PATypeHolder Ty;