summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/TransformInternals.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms/TransformInternals.h')
-rw-r--r--llvm/lib/Transforms/TransformInternals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/TransformInternals.h b/llvm/lib/Transforms/TransformInternals.h
index 3b80146a278..b5747c91303 100644
--- a/llvm/lib/Transforms/TransformInternals.h
+++ b/llvm/lib/Transforms/TransformInternals.h
@@ -90,7 +90,8 @@ public:
typedef std::map<const Value*, const Type*> ValueTypeCache;
-struct ValueMapCache {
+class ValueMapCache {
+public:
// Operands mapped - Contains an entry if the first value (the user) has had
// the second value (the operand) mapped already.
//
OpenPOWER on IntegriCloud