Use references now that it is natural to do so.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 1 Dec 2015 19:50:54 +0000 (19:50 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 1 Dec 2015 19:50:54 +0000 (19:50 +0000)
commit76c60c37de0a6250ce3be524e121d95ba7035c2e
tree41dc39a2ad5bd4f082c2b3f82a015fcdcce42d37
parentb0b27c572556a67b2a9f5246b8ceeeb0895c6eec
Use references now that it is natural to do so.

The linker never takes ownership of a module or changes which module it
is refering to, making it natural to use references.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254449 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Linker/Linker.h
lib/LTO/LTOCodeGenerator.cpp
lib/Linker/LinkModules.cpp
lib/Transforms/IPO/FunctionImport.cpp
tools/bugpoint/BugDriver.cpp
tools/bugpoint/Miscompilation.cpp
tools/gold/gold-plugin.cpp
tools/llvm-link/llvm-link.cpp
unittests/Linker/LinkModulesTest.cpp