aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/ObjCARC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/ObjCARC.cpp b/lib/Transforms/Scalar/ObjCARC.cpp
index a54bd2bd27..8dae2354e7 100644
--- a/lib/Transforms/Scalar/ObjCARC.cpp
+++ b/lib/Transforms/Scalar/ObjCARC.cpp
@@ -170,7 +170,7 @@ namespace {
raw_ostream &operator<<(raw_ostream &OS, const InstructionClass Class)
LLVM_ATTRIBUTE_USED;
- raw_ostream &operator<<(raw_ostream &OS, InstructionClass Class) {
+ raw_ostream &operator<<(raw_ostream &OS, const InstructionClass Class) {
switch (Class) {
case IC_Retain:
return OS << "IC_Retain";