Delete what is now duplicated code.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 2 Dec 2015 22:22:24 +0000 (22:22 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 2 Dec 2015 22:22:24 +0000 (22:22 +0000)
commit44b99915504b69c98096d6b05f445b1fb58a848d
tree04b49f691cac19a67082b322c29523b4c30d7386
parentdc5640824942c77b26fe92a9aa7a7ee6d150454d
Delete what is now duplicated code.

Having to import an alias as declaration is not thinlto specific.

The test difference are because when we already have a decl and we are
not importing it, we just leave the decl alone.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254556 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Linker/LinkModules.cpp
test/Linker/funcimport.ll
test/Transforms/FunctionImport/funcimport.ll