mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-23 01:30:19 +00:00
remove progname which is never set. PR4085
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70453 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8dc85ddf80
commit
cf189964d7
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user