[llvm-commits] CVS: llvm/lib/VMCore/Linker.cpp

Reid Spencer reid at x10sys.com
Fri Nov 5 14:15:48 PST 2004



Changes in directory llvm/lib/VMCore:

Linker.cpp updated: 1.87 -> 1.88
---
Log message:

Stop propagating method names that violate the coding standard

---
Diffs of the changes:  (+3 -3)

Index: llvm/lib/VMCore/Linker.cpp
diff -u llvm/lib/VMCore/Linker.cpp:1.87 llvm/lib/VMCore/Linker.cpp:1.88
--- llvm/lib/VMCore/Linker.cpp:1.87	Sat Oct 16 13:08:06 2004
+++ llvm/lib/VMCore/Linker.cpp	Fri Nov  5 16:15:36 2004
@@ -946,9 +946,9 @@
   // If the source library's module id is in the dependent library list of the
   // destination library, remove it since that module is now linked in.
   sys::Path modId;
-  modId.set_file(Src->getModuleIdentifier());
-  if (!modId.is_empty())
-    Dest->removeLibrary(modId.get_basename());
+  modId.setFile(Src->getModuleIdentifier());
+  if (!modId.isEmpty())
+    Dest->removeLibrary(modId.getBasename());
 
   return false;
 }






More information about the llvm-commits mailing list