diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-11-27 09:55:56 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-11-27 09:55:56 +0000 |
commit | ee5984df399aa360047e2e4ac9209bd886bc4961 (patch) | |
tree | 37b61bcdea511e1e137a16c16bb7def649f47f49 /llvm/lib/Target/CppBackend/CPPBackend.cpp | |
parent | 69a071d5a676d66761dc9808265795cff17d1b80 (diff) | |
download | bcm5719-llvm-ee5984df399aa360047e2e4ac9209bd886bc4961.tar.gz bcm5719-llvm-ee5984df399aa360047e2e4ac9209bd886bc4961.zip |
Remove the dependent libraries feature.
The dependent libraries feature was never used and has bit-rotted. Remove it.
llvm-svn: 168694
Diffstat (limited to 'llvm/lib/Target/CppBackend/CPPBackend.cpp')
-rw-r--r-- | llvm/lib/Target/CppBackend/CPPBackend.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp index 5c909903f94..b5a20373bbe 100644 --- a/llvm/lib/Target/CppBackend/CPPBackend.cpp +++ b/llvm/lib/Target/CppBackend/CPPBackend.cpp @@ -1941,14 +1941,6 @@ void CppWriter::printModule(const std::string& fname, } nl(Out); - // Loop over the dependent libraries and emit them. - Module::lib_iterator LI = TheModule->lib_begin(); - Module::lib_iterator LE = TheModule->lib_end(); - while (LI != LE) { - Out << "mod->addLibrary(\"" << *LI << "\");"; - nl(Out); - ++LI; - } printModuleBody(); nl(Out) << "return mod;"; nl(Out,-1) << "}"; |