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 | 08a5eb3cf0aa36e5f784ff07203fb5113494f3fd (patch) | |
tree | b84da21362db685a19b50656c655787f35d0433e /llvm | |
parent | 147c561432ba72c0486f737eedae11af82ea3b41 (diff) | |
download | bcm5719-llvm-08a5eb3cf0aa36e5f784ff07203fb5113494f3fd.tar.gz bcm5719-llvm-08a5eb3cf0aa36e5f784ff07203fb5113494f3fd.zip |
Minor cleanup. No need to explicitly tell the compiler the template arguments.
llvm-svn: 20153
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Linker/LinkArchives.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Linker/LinkArchives.cpp b/llvm/lib/Linker/LinkArchives.cpp index 69549251b9f..99f3a1b60d2 100644 --- a/llvm/lib/Linker/LinkArchives.cpp +++ b/llvm/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. |