From 222f02f7eb70b831881f7b3521ffba9f4d408b94 Mon Sep 17 00:00:00 2001 From: Michael Gottesman Date: Thu, 17 Jan 2013 18:36:17 +0000 Subject: [PATCH] Added missing const from my last commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172736 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/ObjCARC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/ObjCARC.cpp b/lib/Transforms/Scalar/ObjCARC.cpp index a54bd2bd271..8dae2354e73 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"; -- 2.34.1