aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-08 17:53:24 +0000
committerChris Lattner <sabre@nondot.org>2004-06-08 17:53:24 +0000
commit82d55902c6ccd051680d6c77ed1a27a0f9ee9eec (patch)
tree23467849bd94df55e1116fb954dfeb98b467c1cf
parent85b0195f0e619d7151824a08f33e6754a451e7fc (diff)
Fix a link error using VS8.0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14071 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/ConstantFold.h2
-rw-r--r--lib/VMCore/ConstantFolding.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/ConstantFold.h b/lib/VMCore/ConstantFold.h
index 680b39eaf4..24ef180b86 100644
--- a/lib/VMCore/ConstantFold.h
+++ b/lib/VMCore/ConstantFold.h
@@ -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);
diff --git a/lib/VMCore/ConstantFolding.h b/lib/VMCore/ConstantFolding.h
index 680b39eaf4..24ef180b86 100644
--- a/lib/VMCore/ConstantFolding.h
+++ b/lib/VMCore/ConstantFolding.h
@@ -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);