diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-30 00:24:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-30 00:24:33 +0000 |
commit | 1fba01bbcdfa297407324debb22db1532b21113c (patch) | |
tree | d7343e3acc0827f049b5fe33b3b62eb6c2c4d4cd | |
parent | e9efa80c003e23d02d8d3bf917d30bef118f236e (diff) | |
download | bcm5719-llvm-1fba01bbcdfa297407324debb22db1532b21113c.tar.gz bcm5719-llvm-1fba01bbcdfa297407324debb22db1532b21113c.zip |
remove progname which is never set. PR4085
llvm-svn: 70453
-rw-r--r-- | llvm/lib/Target/CppBackend/CPPBackend.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp index 849284e8d8c..ffb805691fa 100644 --- a/llvm/lib/Target/CppBackend/CPPBackend.cpp +++ b/llvm/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); } |