summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Support/ConstantFolder.h2
-rw-r--r--llvm/include/llvm/Support/NoFolder.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/ConstantFolder.h b/llvm/include/llvm/Support/ConstantFolder.h
index 422d1ad00d2..ab9ecc69fc7 100644
--- a/llvm/include/llvm/Support/ConstantFolder.h
+++ b/llvm/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/llvm/include/llvm/Support/NoFolder.h b/llvm/include/llvm/Support/NoFolder.h
index b89c084b586..d5198a2ad89 100644
--- a/llvm/include/llvm/Support/NoFolder.h
+++ b/llvm/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 {
OpenPOWER on IntegriCloud