aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/NoFolder.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/NoFolder.h')
-rw-r--r--include/llvm/Support/NoFolder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Support/NoFolder.h b/include/llvm/Support/NoFolder.h
index 6c9ac450d4..e0fb9cdb3f 100644
--- a/include/llvm/Support/NoFolder.h
+++ b/include/llvm/Support/NoFolder.h
@@ -28,12 +28,12 @@
namespace llvm {
+class LLVMContext;
+
/// NoFolder - Create "constants" (actually, values) with no folding.
class NoFolder {
- LLVMContext &Context;
public:
-
- NoFolder(LLVMContext &C) : Context(C) { }
+ explicit NoFolder(LLVMContext &) {}
//===--------------------------------------------------------------------===//
// Binary Operators