From: Reid Spencer Date: Thu, 1 Jun 2006 04:21:20 +0000 (+0000) Subject: Fix a bug where incorrect C++ was being emitted. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=659a243b93780cd706e9221ca058c4c7397470cc;p=oota-llvm.git Fix a bug where incorrect C++ was being emitted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28615 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm2cpp/CppWriter.cpp b/tools/llvm2cpp/CppWriter.cpp index b5f39453f8f..36c93944046 100644 --- a/tools/llvm2cpp/CppWriter.cpp +++ b/tools/llvm2cpp/CppWriter.cpp @@ -1446,7 +1446,6 @@ void CppWriter::printContents( ) { Out << "\nModule* " << fname << "(Module *mod) {\n"; Out << "\nmod->setModuleIdentifier(\"" << mName << "\");\n"; - Out << "\");\n"; printModuleBody(); Out << "\nreturn mod;\n"; Out << "\n}\n";