diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-13 03:00:16 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-13 03:00:16 +0000 |
commit | 0ba9e211bed7813949aaca97e6b15579c8188e05 (patch) | |
tree | d5e8a62185dd480454389f32a2990dda46652c4a /lib/Linker/LinkModules.cpp | |
parent | 7a87ce043b0c15401750f4621a90bfd3221caab5 (diff) |
Make LinkModules a static member function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18859 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker/LinkModules.cpp')
-rw-r--r-- | lib/Linker/LinkModules.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index 49d8de1c66..ae80cd7da3 100644 --- a/lib/Linker/LinkModules.cpp +++ b/lib/Linker/LinkModules.cpp @@ -821,7 +821,8 @@ static bool LinkAppendingVars(Module *M, // error occurs, true is returned and ErrorMsg (if not null) is set to indicate // the problem. Upon failure, the Dest module could be in a modified state, and // shouldn't be relied on to be consistent. -bool llvm::LinkModules(Module *Dest, Module *Src, std::string *ErrorMsg) { +bool +Linker::LinkModules(Module *Dest, Module *Src, std::string *ErrorMsg) { assert(Dest != 0 && "Invalid Destination module"); assert(Src != 0 && "Invalid Source Module"); |