[lld] r265237 - Rename a variable. NFC.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 2 12:09:07 PDT 2016


Author: ruiu
Date: Sat Apr  2 14:09:07 2016
New Revision: 265237

URL: http://llvm.org/viewvc/llvm-project?rev=265237&view=rev
Log:
Rename a variable. NFC.

We had variables MB and Mb in this function. Rename of one them.

Modified:
    lld/trunk/ELF/Driver.cpp

Modified: lld/trunk/ELF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Driver.cpp?rev=265237&r1=265236&r2=265237&view=diff
==============================================================================
--- lld/trunk/ELF/Driver.cpp (original)
+++ lld/trunk/ELF/Driver.cpp Sat Apr  2 14:09:07 2016
@@ -80,11 +80,11 @@ LinkerDriver::getArchiveMembers(MemoryBu
   for (const ErrorOr<Archive::Child> &COrErr : File->children()) {
     Archive::Child C = check(COrErr, "could not get the child of the archive " +
                                          File->getFileName());
-    MemoryBufferRef Mb =
+    MemoryBufferRef MBRef =
         check(C.getMemoryBufferRef(),
               "could not get the buffer for a child of the archive " +
                   File->getFileName());
-    V.push_back(Mb);
+    V.push_back(MBRef);
   }
 
   // Take ownership of memory buffers created for members of thin archives.




More information about the llvm-commits mailing list