Last batch of cleanups to Linker.h.

Update comments, fix * placement, fix method names that are not
used in clang, add a linkInModule that takes a Mode and put it
in Linker.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181099 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2013-05-04 03:06:50 +00:00
parent 105193772d
commit fca8863165
3 changed files with 22 additions and 78 deletions

View File

@ -24,3 +24,7 @@ Linker::Linker(Module* aModule) :
Linker::~Linker() {
}
bool Linker::linkInModule(Module *Src, unsigned Mode, std::string *ErrorMsg) {
return LinkModules(Composite, Src, Linker::DestroySource, ErrorMsg);
}