aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2009-08-11 17:27:20 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2009-08-11 17:27:20 +0000
commit3d36ec144725ca1c8eddaa9c3bc762b704764fe1 (patch)
treead85d6260bc44c08b598968a11c1dd7aa9653277
parent826edc531d4afce987381962c4f9c093ac73765a (diff)
downloadexternal_llvm-3d36ec144725ca1c8eddaa9c3bc762b704764fe1.zip
external_llvm-3d36ec144725ca1c8eddaa9c3bc762b704764fe1.tar.gz
external_llvm-3d36ec144725ca1c8eddaa9c3bc762b704764fe1.tar.bz2
Fix struct/class mismatch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78686 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Support/ConstantFolder.h2
-rw-r--r--include/llvm/Support/NoFolder.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/ConstantFolder.h b/include/llvm/Support/ConstantFolder.h
index 422d1ad..ab9ecc6 100644
--- a/include/llvm/Support/ConstantFolder.h
+++ b/include/llvm/Support/ConstantFolder.h
@@ -21,7 +21,7 @@
namespace llvm {
-class LLVMContext;
+struct LLVMContext;
/// ConstantFolder - Create constants with minimum, target independent, folding.
class ConstantFolder {
diff --git a/include/llvm/Support/NoFolder.h b/include/llvm/Support/NoFolder.h
index b89c084..d5198a2 100644
--- a/include/llvm/Support/NoFolder.h
+++ b/include/llvm/Support/NoFolder.h
@@ -28,7 +28,7 @@
namespace llvm {
-class LLVMContext;
+struct LLVMContext;
/// NoFolder - Create "constants" (actually, values) with no folding.
class NoFolder {