aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Target/CppBackend/CPPBackend.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp
index 849284e..ffb8056 100644
--- a/lib/Target/CppBackend/CPPBackend.cpp
+++ b/lib/Target/CppBackend/CPPBackend.cpp
@@ -94,7 +94,6 @@ namespace {
/// CppWriter - This class is the main chunk of code that converts an LLVM
/// module to a C++ translation unit.
class CppWriter : public ModulePass {
- const char* progname;
raw_ostream &Out;
const Module *TheModule;
uint64_t uniqueNum;
@@ -218,7 +217,7 @@ namespace {
}
void CppWriter::error(const std::string& msg) {
- cerr << progname << ": " << msg << "\n";
+ cerr << msg << "\n";
exit(2);
}