summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkModules.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-13 03:00:16 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-13 03:00:16 +0000
commitc4e31534559ca7a71cd5673ebeee5d4473e49cb7 (patch)
tree6099eab37deb4c7ff55c405426b29a0097ff6d98 /llvm/lib/Linker/LinkModules.cpp
parent9a5613962f8b13ea8d4c2d20b26030bfc07cfa24 (diff)
downloadbcm5719-llvm-c4e31534559ca7a71cd5673ebeee5d4473e49cb7.tar.gz
bcm5719-llvm-c4e31534559ca7a71cd5673ebeee5d4473e49cb7.zip
Make LinkModules a static member function
llvm-svn: 18859
Diffstat (limited to 'llvm/lib/Linker/LinkModules.cpp')
-rw-r--r--llvm/lib/Linker/LinkModules.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp
index 49d8de1c66d..ae80cd7da39 100644
--- a/llvm/lib/Linker/LinkModules.cpp
+++ b/llvm/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");
OpenPOWER on IntegriCloud