Added missing const from my last commit.
authorMichael Gottesman <mgottesman@apple.com>
Thu, 17 Jan 2013 18:36:17 +0000 (18:36 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Thu, 17 Jan 2013 18:36:17 +0000 (18:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172736 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/ObjCARC.cpp

index a54bd2bd27199482958e8cff977325141be409a1..8dae2354e737638af32f2a7bee8247161aaff4e1 100644 (file)
@@ -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";