[llvm] r216809 - Fix typo and formatting

Nick Kledzik kledzik at apple.com
Fri Aug 29 18:57:34 PDT 2014


Author: kledzik
Date: Fri Aug 29 20:57:34 2014
New Revision: 216809

URL: http://llvm.org/viewvc/llvm-project?rev=216809&view=rev
Log:
Fix typo and formatting

Modified:
    llvm/trunk/lib/Object/MachOObjectFile.cpp

Modified: llvm/trunk/lib/Object/MachOObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Object/MachOObjectFile.cpp?rev=216809&r1=216808&r2=216809&view=diff
==============================================================================
--- llvm/trunk/lib/Object/MachOObjectFile.cpp (original)
+++ llvm/trunk/lib/Object/MachOObjectFile.cpp Fri Aug 29 20:57:34 2014
@@ -1532,7 +1532,7 @@ bool ExportEntry::operator==(const Expor
   if (Stack.size() != Other.Stack.size())
     return false;
   // Not equal if different cumulative strings.
-  if (!CumulativeString.str().equals(CumulativeString.str()))
+  if (!CumulativeString.str().equals(Other.CumulativeString.str()))
     return false;
   // Equal if all nodes in both stacks match.
   for (unsigned i=0; i < Stack.size(); ++i) {
@@ -1600,8 +1600,8 @@ void ExportEntry::pushNode(uint64_t offs
       State.ImportName = reinterpret_cast<const char*>(State.Current);
     } else {
       State.Address = readULEB128(State.Current);
-			if (State.Flags &  MachO::EXPORT_SYMBOL_FLAGS_STUB_AND_RESOLVER)
-				State.Other = readULEB128(State.Current); 
+      if (State.Flags & MachO::EXPORT_SYMBOL_FLAGS_STUB_AND_RESOLVER)
+        State.Other = readULEB128(State.Current); 
     }
   }
   State.ChildCount = *Children;





More information about the llvm-commits mailing list