[llvm] r244507 - Rename improperly named variable. NFC.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 14:25:45 PDT 2015


Author: rafael
Date: Mon Aug 10 16:25:44 2015
New Revision: 244507

URL: http://llvm.org/viewvc/llvm-project?rev=244507&view=rev
Log:
Rename improperly named variable. NFC.

Modified:
    llvm/trunk/include/llvm/Object/ELF.h

Modified: llvm/trunk/include/llvm/Object/ELF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ELF.h?rev=244507&r1=244506&r2=244507&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/ELF.h (original)
+++ llvm/trunk/include/llvm/Object/ELF.h Mon Aug 10 16:25:44 2015
@@ -385,10 +385,10 @@ ELFFile<ELFT>::ELFFile(StringRef Object,
     if ((EC = StrTabSecOrErr.getError()))
       return;
 
-    ErrorOr<StringRef> SymtabOrErr = getStringTable(*StrTabSecOrErr);
-    if ((EC = SymtabOrErr.getError()))
+    ErrorOr<StringRef> StringTableOrErr = getStringTable(*StrTabSecOrErr);
+    if ((EC = StringTableOrErr.getError()))
       return;
-    DotShstrtab = *SymtabOrErr;
+    DotShstrtab = *StringTableOrErr;
   }
 
   EC = std::error_code();




More information about the llvm-commits mailing list