[llvm-commits] CVS: llvm/lib/Linker/LinkModules.cpp

Reid Spencer reid at x10sys.com
Sun Dec 12 19:00:27 PST 2004



Changes in directory llvm/lib/Linker:

LinkModules.cpp updated: 1.100 -> 1.101
---
Log message:

Make LinkModules a static member function

---
Diffs of the changes:  (+2 -1)

Index: llvm/lib/Linker/LinkModules.cpp
diff -u llvm/lib/Linker/LinkModules.cpp:1.100 llvm/lib/Linker/LinkModules.cpp:1.101
--- llvm/lib/Linker/LinkModules.cpp:1.100	Fri Dec 10 14:26:15 2004
+++ llvm/lib/Linker/LinkModules.cpp	Sun Dec 12 21:00:16 2004
@@ -821,7 +821,8 @@
 // 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");
 






More information about the llvm-commits mailing list