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

Chris Lattner lattner at cs.uiuc.edu
Sun Feb 13 09:50:29 PST 2005



Changes in directory llvm/lib/Linker:

LinkArchives.cpp updated: 1.45 -> 1.46
---
Log message:

Minor cleanup.  No need to explicitly tell the compiler the template arguments.


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

 LinkArchives.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Index: llvm/lib/Linker/LinkArchives.cpp
diff -u llvm/lib/Linker/LinkArchives.cpp:1.45 llvm/lib/Linker/LinkArchives.cpp:1.46
--- llvm/lib/Linker/LinkArchives.cpp:1.45	Sun Feb 13 09:26:14 2005
+++ llvm/lib/Linker/LinkArchives.cpp	Sun Feb 13 11:50:16 2005
@@ -154,7 +154,7 @@
       verbose("  Linking in module: " + aModule->getModuleIdentifier());
 
       // Link it in
-      if (this->LinkInModule(aModule))
+      if (LinkInModule(aModule))
         return error("Cannot link in module '" + 
                      aModule->getModuleIdentifier() + "': " + Error);
     }
@@ -168,8 +168,7 @@
     // NotDefinedByArchive which holds symbols we know the archive doesn't
     // define. There's no point searching for symbols that we won't find in the
     // archive so we subtract these sets.
-    set_subtract<std::set<std::string>,std::set<std::string> >(
-        UndefinedSymbols,NotDefinedByArchive);
+    set_subtract(UndefinedSymbols, NotDefinedByArchive);
     
     // If there's no symbols left, no point in continuing to search the
     // archive.






More information about the llvm-commits mailing list