[llvm] r251753 - This can take a const reference. NFC.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 31 15:25:59 PDT 2015


Author: rafael
Date: Sat Oct 31 17:25:59 2015
New Revision: 251753

URL: http://llvm.org/viewvc/llvm-project?rev=251753&view=rev
Log:
This can take a const reference. NFC.

Modified:
    llvm/trunk/tools/llvm-objdump/MachODump.cpp

Modified: llvm/trunk/tools/llvm-objdump/MachODump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/MachODump.cpp?rev=251753&r1=251752&r2=251753&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/MachODump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/MachODump.cpp Sat Oct 31 17:25:59 2015
@@ -1391,7 +1391,7 @@ static void printMachOUniversalHeaders(c
   }
 }
 
-static void printArchiveChild(Archive::Child &C, bool verbose,
+static void printArchiveChild(const Archive::Child &C, bool verbose,
                               bool print_offset) {
   if (print_offset)
     outs() << C.getChildOffset() << "\t";




More information about the llvm-commits mailing list