Fix a link error using VS8.0
authorChris Lattner <sabre@nondot.org>
Tue, 8 Jun 2004 17:53:24 +0000 (17:53 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 8 Jun 2004 17:53:24 +0000 (17:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14071 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/ConstantFold.h
lib/VMCore/ConstantFolding.h

index 680b39eaf483a106801511a41fa61ef8615b867a..24ef180b867b18db52ec6ba1b57f4db9ccb7807b 100644 (file)
@@ -23,7 +23,7 @@
 
 namespace llvm {
   class Constant;
-  class Type;
+  struct Type;
   
   // Constant fold various types of instruction...
   Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy);
index 680b39eaf483a106801511a41fa61ef8615b867a..24ef180b867b18db52ec6ba1b57f4db9ccb7807b 100644 (file)
@@ -23,7 +23,7 @@
 
 namespace llvm {
   class Constant;
-  class Type;
+  struct Type;
   
   // Constant fold various types of instruction...
   Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy);