[llvm-commits] [llvm] r172736 - /llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp

Michael Gottesman mgottesman at apple.com
Thu Jan 17 10:36:17 PST 2013


Author: mgottesman
Date: Thu Jan 17 12:36:17 2013
New Revision: 172736

URL: http://llvm.org/viewvc/llvm-project?rev=172736&view=rev
Log:
Added missing const from my last commit.

Modified:
    llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp?rev=172736&r1=172735&r2=172736&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ObjCARC.cpp Thu Jan 17 12:36:17 2013
@@ -170,7 +170,7 @@
 
   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";





More information about the llvm-commits mailing list