summaryrefslogtreecommitdiffstats
path: root/lib/Linker
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-05 22:15:36 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-05 22:15:36 +0000
commit07adb2836b8aa7a3872e33c285958f5937662b50 (patch)
tree9a68836881a4c9d0c8c33ba18a3fc310aac3aed3 /lib/Linker
parent6c4d9e566f60be60db105c220626bf31bf3ce450 (diff)
downloadexternal_llvm-07adb2836b8aa7a3872e33c285958f5937662b50.zip
external_llvm-07adb2836b8aa7a3872e33c285958f5937662b50.tar.gz
external_llvm-07adb2836b8aa7a3872e33c285958f5937662b50.tar.bz2
Stop propagating method names that violate the coding standard
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker')
-rw-r--r--lib/Linker/LinkModules.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp
index fbf0978..a07caf3 100644
--- a/lib/Linker/LinkModules.cpp
+++ b/lib/Linker/LinkModules.cpp
@@ -946,9 +946,9 @@ bool llvm::LinkModules(Module *Dest, const Module *Src, std::string *ErrorMsg) {
// 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;
}