diff options
author | Chris Lattner <sabre@nondot.org> | 2005-02-13 17:50:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-02-13 17:50:16 +0000 |
commit | 12945acd4aa40b40b1517bcf785622ab9671893f (patch) | |
tree | 7ee2b39696a8d4c4fc7ea051f95a07b1a425ccac /lib/Linker/LinkArchives.cpp | |
parent | b52f1c2950d745f4b305e82cf1ac9a0b49274f56 (diff) |
Minor cleanup. No need to explicitly tell the compiler the template arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker/LinkArchives.cpp')
-rw-r--r-- | lib/Linker/LinkArchives.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Linker/LinkArchives.cpp b/lib/Linker/LinkArchives.cpp index 69549251b9..99f3a1b60d 100644 --- a/lib/Linker/LinkArchives.cpp +++ b/lib/Linker/LinkArchives.cpp @@ -154,7 +154,7 @@ Linker::LinkInArchive(const sys::Path &Filename) { 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 @@ Linker::LinkInArchive(const sys::Path &Filename) { // 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. |