summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-09-23 14:49:45 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-09-23 14:49:45 +0000
commit530036b5e89e41787056120666bf0128ea8addd8 (patch)
treec98ee3396fd4f73eef745abb26411b38680b3211 /include
parentf6cbc0fd6494e50c48ebe4b5eecde1c70bcd5165 (diff)
downloadllvm-530036b5e89e41787056120666bf0128ea8addd8.tar.gz
llvm-530036b5e89e41787056120666bf0128ea8addd8.tar.bz2
llvm-530036b5e89e41787056120666bf0128ea8addd8.tar.xz
Change Value from a "struct" to a "class" so that VC 7.1 doesn't generate
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index 2b10a841a0..2aed4d2f50 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -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;